commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1209721 - /commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/introspection/UberspectImpl.java
Date Fri, 02 Dec 2011 22:02:03 GMT
Author: sebb
Date: Fri Dec  2 22:02:03 2011
New Revision: 1209721

URL: http://svn.apache.org/viewvc?rev=1209721&view=rev
Log:
Binary compatibiliry

Modified:
    commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/introspection/UberspectImpl.java

Modified: commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/introspection/UberspectImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/introspection/UberspectImpl.java?rev=1209721&r1=1209720&r2=1209721&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/introspection/UberspectImpl.java
(original)
+++ commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/introspection/UberspectImpl.java
Fri Dec  2 22:02:03 2011
@@ -164,12 +164,13 @@ public class UberspectImpl extends Intro
 
     /**
      * 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 Intro
 
     /**
      * 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 Intro
 
     /**
      * 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.
          */



Mime
View raw message