This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-ognl.git
The following commit(s) were added to refs/heads/master by this push:
new 41eda35 Javadoc
41eda35 is described below
commit 41eda3506bed2ece9b953cddcb2c290771c5e5a4
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Jul 11 08:53:30 2026 -0400
Javadoc
---
src/main/java/org/apache/commons/ognl/Node.java | 2 +-
.../org/apache/commons/ognl/OgnlException.java | 2 +-
src/main/java/org/apache/commons/ognl/OgnlOps.java | 22 +++++++++++-----------
.../java/org/apache/commons/ognl/OgnlRuntime.java | 4 ++--
.../org/apache/commons/ognl/PropertyAccessor.java | 2 +-
.../ognl/test/NullStringCatenationTest.java | 2 +-
.../commons/ognl/test/objects/BeanProvider.java | 2 +-
7 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/src/main/java/org/apache/commons/ognl/Node.java
b/src/main/java/org/apache/commons/ognl/Node.java
index 2ea0556..8377c1e 100644
--- a/src/main/java/org/apache/commons/ognl/Node.java
+++ b/src/main/java/org/apache/commons/ognl/Node.java
@@ -97,7 +97,7 @@ public interface Node
* @param data The second parameter to pass through to visitor.visit
* @param <R> The return type of the visitor.visit method.
* @param <P> The type of the second parameter type.
- * @return the value returned by visitor.visit
+ * @return The value returned by visitor.visit
* @throws NullPointerException if visitor is null
* @throws RuntimeException if visitor.visit throws an exception.
*/
diff --git a/src/main/java/org/apache/commons/ognl/OgnlException.java
b/src/main/java/org/apache/commons/ognl/OgnlException.java
index 2260516..4898283 100644
--- a/src/main/java/org/apache/commons/ognl/OgnlException.java
+++ b/src/main/java/org/apache/commons/ognl/OgnlException.java
@@ -102,7 +102,7 @@ public class OgnlException
/**
* Returns the encapsulated exception, or null if there is none.
*
- * @return the encapsulated exception
+ * @return The encapsulated exception
*/
public Throwable getReason()
{
diff --git a/src/main/java/org/apache/commons/ognl/OgnlOps.java
b/src/main/java/org/apache/commons/ognl/OgnlOps.java
index 4d4e454..246b793 100644
--- a/src/main/java/org/apache/commons/ognl/OgnlOps.java
+++ b/src/main/java/org/apache/commons/ognl/OgnlOps.java
@@ -173,7 +173,7 @@ public abstract class OgnlOps
* returns true for non-zero objects; and otherwise returns true for
non-null objects.
*
* @param value an object to interpret as a boolean
- * @return the boolean value implied by the given object
+ * @return The boolean value implied by the given object
*/
public static boolean booleanValue( Object value )
{
@@ -202,7 +202,7 @@ public abstract class OgnlOps
* Evaluates the given object as a long integer.
*
* @param value an object to interpret as a long integer
- * @return the long integer value implied by the given object
+ * @return The long integer value implied by the given object
* @throws NumberFormatException if the given object can't be understood
as a long integer
*/
public static long longValue( Object value )
@@ -231,7 +231,7 @@ public abstract class OgnlOps
* Evaluates the given object as a double-precision floating-point number.
*
* @param value an object to interpret as a double
- * @return the double value implied by the given object
+ * @return The double value implied by the given object
* @throws NumberFormatException if the given object can't be understood
as a double
*/
public static double doubleValue( Object value )
@@ -262,7 +262,7 @@ public abstract class OgnlOps
* Evaluates the given object as a BigInteger.
*
* @param value an object to interpret as a BigInteger
- * @return the BigInteger value implied by the given object
+ * @return The BigInteger value implied by the given object
* @throws NumberFormatException if the given object can't be understood
as a BigInteger
*/
public static BigInteger bigIntValue( Object value )
@@ -299,7 +299,7 @@ public abstract class OgnlOps
* Evaluates the given object as a BigDecimal.
*
* @param value an object to interpret as a BigDecimal
- * @return the BigDecimal value implied by the given object
+ * @return The BigDecimal value implied by the given object
* @throws NumberFormatException if the given object can't be understood
as a BigDecimal
*/
public static BigDecimal bigDecValue( Object value )
@@ -333,7 +333,7 @@ public abstract class OgnlOps
*
* @param value an object to interpret as a String
* @param trim if true trims the result
- * @return the String value implied by the given object as returned by the
toString() method, or "null" if the
+ * @return The String value implied by the given object as returned by the
toString() method, or "null" if the
* object is null.
*/
public static String stringValue( Object value, boolean trim )
@@ -359,7 +359,7 @@ public abstract class OgnlOps
* Evaluates the given object as a String.
*
* @param value an object to interpret as a String
- * @return the String value implied by the given object as returned by the
toString() method, or "null" if the
+ * @return The String value implied by the given object as returned by the
toString() method, or "null" if the
* object is null.
*/
public static String stringValue( Object value )
@@ -371,7 +371,7 @@ public abstract class OgnlOps
* Returns a constant from the NumericTypes interface that represents the
numeric type of the given object.
*
* @param value an object that needs to be interpreted as a number
- * @return the appropriate constant from the NumericTypes interface
+ * @return The appropriate constant from the NumericTypes interface
*/
public static int getNumericType( Object value )
{
@@ -820,7 +820,7 @@ public abstract class OgnlOps
*
* @param v1 one argument to a numeric operator
* @param v2 the other argument
- * @return the appropriate constant from the NumericTypes interface
+ * @return The appropriate constant from the NumericTypes interface
*/
public static int getNumericType( Object v1, Object v2 )
{
@@ -834,7 +834,7 @@ public abstract class OgnlOps
* @param t1 type of one argument to an operator
* @param t2 type of the other argument
* @param canBeNonNumeric whether the operator can be interpreted as
non-numeric
- * @return the appropriate constant from the NumericTypes interface
+ * @return The appropriate constant from the NumericTypes interface
*/
public static int getNumericType( int t1, int t2, boolean canBeNonNumeric )
{
@@ -894,7 +894,7 @@ public abstract class OgnlOps
* @param v1 one argument to an operator
* @param v2 the other argument
* @param canBeNonNumeric whether the operator can be interpreted as
non-numeric
- * @return the appropriate constant from the NumericTypes interface
+ * @return The appropriate constant from the NumericTypes interface
*/
public static int getNumericType( Object v1, Object v2, boolean
canBeNonNumeric )
{
diff --git a/src/main/java/org/apache/commons/ognl/OgnlRuntime.java
b/src/main/java/org/apache/commons/ognl/OgnlRuntime.java
index 17e593a..bd3ddc5 100644
--- a/src/main/java/org/apache/commons/ognl/OgnlRuntime.java
+++ b/src/main/java/org/apache/commons/ognl/OgnlRuntime.java
@@ -495,7 +495,7 @@ public class OgnlRuntime
* classes are passed through unchanged.
*
* @param arg an object that is being passed to a method
- * @return the class to use to look up the method
+ * @return The class to use to look up the method
*/
public static Class<?> getArgClass( Object arg )
{
@@ -1436,7 +1436,7 @@ public class OgnlRuntime
*
* @param targetClass a target class.
* @param propertyName a property name.
- * @return the PropertyDescriptor for the given targetClass and
propertyName.
+ * @return The PropertyDescriptor for the given targetClass and
propertyName.
* @throws java.beans.IntrospectionException
* @throws OgnlException
*/
diff --git a/src/main/java/org/apache/commons/ognl/PropertyAccessor.java
b/src/main/java/org/apache/commons/ognl/PropertyAccessor.java
index f3bd10d..83390e8 100644
--- a/src/main/java/org/apache/commons/ognl/PropertyAccessor.java
+++ b/src/main/java/org/apache/commons/ognl/PropertyAccessor.java
@@ -44,7 +44,7 @@ public interface PropertyAccessor
* @param context The current execution context.
* @param target the object to get the property from
* @param name the name of the property to get.
- * @return the current value of the given property in the given object
+ * @return The current value of the given property in the given object
* @throws OgnlException if there is an error locating the property in the
given object
*/
Object getProperty( Map<String, Object> context, Object target, Object
name )
diff --git
a/src/test/java/org/apache/commons/ognl/test/NullStringCatenationTest.java
b/src/test/java/org/apache/commons/ognl/test/NullStringCatenationTest.java
index e1ab174..2722b7f 100644
--- a/src/test/java/org/apache/commons/ognl/test/NullStringCatenationTest.java
+++ b/src/test/java/org/apache/commons/ognl/test/NullStringCatenationTest.java
@@ -53,7 +53,7 @@ public class NullStringCatenationTest
/**
* Setup parameters for this test which are used to call this class
constructor
- * @return the collection of paramaters
+ * @return The collection of paramaters
*/
@Parameters
public static Collection<Object[]> data()
diff --git
a/src/test/java/org/apache/commons/ognl/test/objects/BeanProvider.java
b/src/test/java/org/apache/commons/ognl/test/objects/BeanProvider.java
index 2cd980a..3f40dac 100644
--- a/src/test/java/org/apache/commons/ognl/test/objects/BeanProvider.java
+++ b/src/test/java/org/apache/commons/ognl/test/objects/BeanProvider.java
@@ -31,7 +31,7 @@ public interface BeanProvider
* Gets a bean by name.
*
* @param name
- * @return the related bean by name
+ * @return The related bean by name
*/
Object getBean( String name );