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 6bd5a80 Javadoc
6bd5a80 is described below
commit 6bd5a80876f444f7857c4674c501d78d93505a9f
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Jul 11 09:09:03 2026 -0400
Javadoc
---
src/main/java/org/apache/commons/ognl/ElementsAccessor.java | 2 +-
src/main/java/org/apache/commons/ognl/Ognl.java | 10 +++++-----
src/main/java/org/apache/commons/ognl/OgnlException.java | 2 +-
src/main/java/org/apache/commons/ognl/OgnlOps.java | 4 ++--
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/main/java/org/apache/commons/ognl/ElementsAccessor.java
b/src/main/java/org/apache/commons/ognl/ElementsAccessor.java
index 2a71465..ba5a32f 100644
--- a/src/main/java/org/apache/commons/ognl/ElementsAccessor.java
+++ b/src/main/java/org/apache/commons/ognl/ElementsAccessor.java
@@ -36,7 +36,7 @@ public interface ElementsAccessor
* Returns an iterator over the elements of the given target object.
*
* @param target the object to get the elements of
- * @return an iterator over the elements of the given object
+ * @return An iterator over the elements of the given object
* @throws OgnlException if there is an error getting the given object's
elements
*/
Enumeration<?> getElements( Object target ) throws OgnlException;
diff --git a/src/main/java/org/apache/commons/ognl/Ognl.java
b/src/main/java/org/apache/commons/ognl/Ognl.java
index 8d3e8a7..4962fbc 100644
--- a/src/main/java/org/apache/commons/ognl/Ognl.java
+++ b/src/main/java/org/apache/commons/ognl/Ognl.java
@@ -99,7 +99,7 @@ public abstract class Ognl
* <code>Ognl</code> static methods.
*
* @param expression the OGNL expression to be parsed
- * @return a tree representation of the expression
+ * @return A tree representation of the expression
* @throws ExpressionSyntaxException if the expression is malformed
* @throws OgnlException if there is a pathological environmental problem
*/
@@ -146,7 +146,7 @@ public abstract class Ognl
* Creates and returns a new standard naming context for evaluating an
OGNL expression.
*
* @param root the root of the object graph
- * @return a new Map with the keys <code>root</code> and
<code>context</code> set appropriately
+ * @return A new Map with the keys <code>root</code> and
<code>context</code> set appropriately
*/
public static Map<String, Object> createDefaultContext( Object root )
{
@@ -158,7 +158,7 @@ public abstract class Ognl
*
* @param root The root of the object graph.
* @param classResolver The resolver used to instantiate {@link Class}
instances referenced in the expression.
- * @return a new OgnlContext with the keys <code>root</code> and
<code>context</code> set appropriately
+ * @return A new OgnlContext with the keys <code>root</code> and
<code>context</code> set appropriately
*/
public static Map<String, Object> createDefaultContext( Object root,
ClassResolver classResolver )
{
@@ -171,7 +171,7 @@ public abstract class Ognl
* @param root The root of the object graph.
* @param classResolver The resolver used to instantiate {@link Class}
instances referenced in the expression.
* @param converter Converter used to convert return types of an
expression in to their desired types.
- * @return a new Map with the keys <code>root</code> and
<code>context</code> set appropriately
+ * @return A new Map with the keys <code>root</code> and
<code>context</code> set appropriately
*/
public static Map<String, Object> createDefaultContext( Object root,
ClassResolver classResolver,
TypeConverter
converter )
@@ -187,7 +187,7 @@ public abstract class Ognl
* @param converter Converter used to convert return types of an
expression in to their desired types.
* @param memberAccess Java security handling object to determine
semantics for accessing normally private/protected
* methods / fields.
- * @return a new Map with the keys <code>root</code> and
<code>context</code> set appropriately
+ * @return A new Map with the keys <code>root</code> and
<code>context</code> set appropriately
*/
public static Map<String, Object> createDefaultContext( Object root,
ClassResolver classResolver,
TypeConverter
converter, MemberAccess memberAccess )
diff --git a/src/main/java/org/apache/commons/ognl/OgnlException.java
b/src/main/java/org/apache/commons/ognl/OgnlException.java
index 4898283..4e5caaf 100644
--- a/src/main/java/org/apache/commons/ognl/OgnlException.java
+++ b/src/main/java/org/apache/commons/ognl/OgnlException.java
@@ -132,7 +132,7 @@ public class OgnlException
/**
* Returns a string representation of this exception.
*
- * @return a string representation of this exception
+ * @return A string representation of this exception
*/
@Override
public String toString()
diff --git a/src/main/java/org/apache/commons/ognl/OgnlOps.java
b/src/main/java/org/apache/commons/ognl/OgnlOps.java
index 246b793..95e395d 100644
--- a/src/main/java/org/apache/commons/ognl/OgnlOps.java
+++ b/src/main/java/org/apache/commons/ognl/OgnlOps.java
@@ -907,7 +907,7 @@ public abstract class OgnlOps
*
* @param type the nominal numeric type of the result, a constant from the
NumericTypes interface
* @param value the integer value to convert to a Number object
- * @return a Number object with the given value, of type implied by the
type argument
+ * @return A Number object with the given value, of type implied by the
type argument
*/
public static Number newInteger( int type, long value )
{
@@ -951,7 +951,7 @@ public abstract class OgnlOps
*
* @param type the nominal numeric type of the result, a constant from the
NumericTypes interface
* @param value the real value to convert to a Number object
- * @return a Number object with the given value, of type implied by the
type argument
+ * @return A Number object with the given value, of type implied by the
type argument
*/
public static Number newReal( int type, double value )
{