You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2015/12/09 11:44:18 UTC
svn commit: r1718807 -
/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/JexlArithmetic.java
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.