commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1718807 - /commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/JexlArithmetic.java
Date Wed, 09 Dec 2015 10:44:18 GMT
Author: sebb
Date: Wed Dec  9 10:44:17 2015
New Revision: 1718807

URL: http://svn.apache.org/viewvc?rev=1718807&view=rev
Log:
Don't expose fields (even final ones) that are available via getters

Modified:
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/JexlArithmetic.java

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/JexlArithmetic.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/JexlArithmetic.java?rev=1718807&r1=1718806&r2=1718807&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/JexlArithmetic.java (original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/JexlArithmetic.java Wed
Dec  9 10:44:17 2015
@@ -72,13 +72,13 @@ public class JexlArithmetic {
     protected static final int BIGD_SCALE = -1;
 
     /** Whether this JexlArithmetic instance behaves in strict or lenient mode. */
-    protected final boolean strict;
+    private final boolean strict;
 
     /** The big decimal math context. */
-    protected final MathContext mathContext;
+    private final MathContext mathContext;
 
     /** The big decimal scale. */
-    protected final int mathScale;
+    private final int mathScale;
 
     /**
      * Creates a JexlArithmetic.



Mime
View raw message