commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1370619 - /commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/ObjectContext.java
Date Wed, 08 Aug 2012 00:54:55 GMT
Author: sebb
Date: Wed Aug  8 00:54:55 2012
New Revision: 1370619

URL: http://svn.apache.org/viewvc?rev=1370619&view=rev
Log:
Don't expose fields unnecessarily

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

Modified: commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/ObjectContext.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/ObjectContext.java?rev=1370619&r1=1370618&r2=1370619&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/ObjectContext.java
(original)
+++ commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/ObjectContext.java
Wed Aug  8 00:54:55 2012
@@ -23,9 +23,9 @@ package org.apache.commons.jexl2;
  */
 public class ObjectContext<T> implements JexlContext {
     /** The property solving jexl engine. */
-    protected final JexlEngine jexl;
+    private final JexlEngine jexl;
     /** The object serving as context provider. */
-    protected final T object;
+    final T object; // package access for use by test code
 
     /**
      * Creates a new ObjectContext.



Mime
View raw message