You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2010/09/10 23:31:19 UTC
svn commit: r995990 -
/commons/proper/math/trunk/src/main/java/org/apache/commons/math/dfp/DfpField.java
Author: luc
Date: Fri Sep 10 21:31:19 2010
New Revision: 995990
URL: http://svn.apache.org/viewvc?rev=995990&view=rev
Log:
fixed visibility of an internal constructor that should remain private
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math/dfp/DfpField.java
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/dfp/DfpField.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/dfp/DfpField.java?rev=995990&r1=995989&r2=995990&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/dfp/DfpField.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/dfp/DfpField.java Fri Sep 10 21:31:19 2010
@@ -185,7 +185,7 @@ public class DfpField implements Field<D
* @param computeConstants if true, the transcendental constants for the given precision
* must be computed (setting this flag to false is RESERVED for the internal recursive call)
*/
- public DfpField(final int decimalDigits, final boolean computeConstants) {
+ private DfpField(final int decimalDigits, final boolean computeConstants) {
this.radixDigits = (decimalDigits < 13) ? 4 : (decimalDigits + 3) / 4;
this.rMode = RoundingMode.ROUND_HALF_EVEN;