commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1296532 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fraction/AbstractFormat.java
Date Sat, 03 Mar 2012 00:39:50 GMT
Author: sebb
Date: Sat Mar  3 00:39:50 2012
New Revision: 1296532

URL: http://svn.apache.org/viewvc?rev=1296532&view=rev
Log:
Formats might as well be private; there's a public getter which all subclasses use anyway

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fraction/AbstractFormat.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fraction/AbstractFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fraction/AbstractFormat.java?rev=1296532&r1=1296531&r2=1296532&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fraction/AbstractFormat.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fraction/AbstractFormat.java
Sat Mar  3 00:39:50 2012
@@ -37,10 +37,10 @@ public abstract class AbstractFormat ext
     private static final long serialVersionUID = -6981118387974191891L;
 
     /** The format used for the denominator. */
-    protected NumberFormat denominatorFormat;
+    private NumberFormat denominatorFormat;
 
     /** The format used for the numerator. */
-    protected NumberFormat numeratorFormat;
+    private NumberFormat numeratorFormat;
 
     /**
      * Create an improper formatting instance with the default number format



Mime
View raw message