This is an automated email from the ASF dual-hosted git repository.

henrib pushed a commit to tag 2.1
in repository https://gitbox.apache.org/repos/asf/commons-jexl.git

commit a9cd7ec0278baebdad4381cd6ca4c6045c8cf9ea
Author: Sebastian Bazley <s...@apache.org>
AuthorDate: Fri Dec 2 22:02:03 2011 +0000

    Binary compatibiliry
    
    git-svn-id: 
https://svn-us.apache.org/repos/asf/commons/proper/jexl/branches/2.0@1209721 
13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/commons/jexl2/introspection/UberspectImpl.java | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/jexl2/introspection/UberspectImpl.java 
b/src/main/java/org/apache/commons/jexl2/introspection/UberspectImpl.java
index e67ced5..bd86661 100644
--- a/src/main/java/org/apache/commons/jexl2/introspection/UberspectImpl.java
+++ b/src/main/java/org/apache/commons/jexl2/introspection/UberspectImpl.java
@@ -164,12 +164,13 @@ public class UberspectImpl extends Introspector 
implements Uberspect {
 
     /**
      * Returns a class field.
+     * Only for use by sub-classes, will be made protected in a later version
      * @param obj the object
      * @param name the field name
      * @param info debug info
      * @return a {@link Field}.
      */
-    protected Field getField(Object obj, String name, JexlInfo info) {
+    public Field getField(Object obj, String name, JexlInfo info) {
         final Class<?> clazz = obj instanceof Class<?> ? (Class<?>) obj : 
obj.getClass();
         return getField(clazz, name);
     }
@@ -445,8 +446,10 @@ public class UberspectImpl extends Introspector implements 
Uberspect {
 
     /**
      * A JexlPropertyGet for public fields.
+     * @deprecated Do not use externally - will be made private in a later 
version
      */
-    private static final class FieldPropertyGet implements JexlPropertyGet {
+    @Deprecated
+    public static final class FieldPropertyGet implements JexlPropertyGet {
         /**
          * The public field.
          */
@@ -498,8 +501,10 @@ public class UberspectImpl extends Introspector implements 
Uberspect {
 
     /**
      * A JexlPropertySet for public fields.
+    * @deprecated Do not use externally - will be made private in a later 
version
      */
-    private static final class FieldPropertySet implements JexlPropertySet {
+    @Deprecated
+    public static final class FieldPropertySet implements JexlPropertySet {
         /**
          * The public field.
          */

Reply via email to