Author: celestin Date: Sat Jun 2 09:46:23 2012 New Revision: 1345472 URL: http://svn.apache.org/viewvc?rev=1345472&view=rev Log: In LocalizedFormats, removed ALPHA and BETA which are no longer used (MATH-796).
Modified: commons/proper/math/trunk/src/changes/changes.xml commons/proper/math/trunk/src/main/java/org/apache/commons/math3/exception/util/LocalizedFormats.java commons/proper/math/trunk/src/main/resources/assets/org/apache/commons/math3/exception/util/LocalizedFormats_fr.properties commons/proper/math/trunk/src/test/java/org/apache/commons/math3/exception/util/LocalizedFormatsTest.java Modified: commons/proper/math/trunk/src/changes/changes.xml URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/changes/changes.xml?rev=1345472&r1=1345471&r2=1345472&view=diff ============================================================================== --- commons/proper/math/trunk/src/changes/changes.xml (original) +++ commons/proper/math/trunk/src/changes/changes.xml Sat Jun 2 09:46:23 2012 @@ -52,6 +52,11 @@ If the output is not quite correct, chec <body> <release version="3.1" date="TBD" description=" "> + <action dev="celestin" type="remove" issue="MATH-796"> + Removed unused fields LocalizedFormats.ALPHA and LocalizedFormats.BETA. This is + an acceptable compatibility break, as these fields are only meant for internal +use. + </action> <action dev="tn" type="fix" issue="MATH-644" due-to="marzieh"> Fix computation of upperCumulativeProbability in HypergeometricDistribution and cleanup of duplicate probability mass function. Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/exception/util/LocalizedFormats.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/exception/util/LocalizedFormats.java?rev=1345472&r1=1345471&r2=1345472&view=diff ============================================================================== --- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/exception/util/LocalizedFormats.java (original) +++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/exception/util/LocalizedFormats.java Sat Jun 2 09:46:23 2012 @@ -191,8 +191,6 @@ public enum LocalizedFormats implements NOT_INCREASING_NUMBER_OF_POINTS("points {0} and {1} are not increasing ({2} > {3})"), NOT_INCREASING_SEQUENCE("points {3} and {2} are not increasing ({1} > {0})"), /* keep */ NOT_MULTIPLICATION_COMPATIBLE_MATRICES("{0}x{1} and {2}x{3} matrices are not multiplication compatible"), - ALPHA("alpha"), /* keep */ - BETA("beta"), /* keep */ NOT_POSITIVE_DEFINITE_MATRIX("not positive definite matrix"), /* keep */ NON_POSITIVE_DEFINITE_MATRIX("not positive definite matrix: diagonal element at ({1},{1}) is smaller than {2} ({0})"), NON_POSITIVE_DEFINITE_OPERATOR("non positive definite linear operator"), /* keep */ Modified: commons/proper/math/trunk/src/main/resources/assets/org/apache/commons/math3/exception/util/LocalizedFormats_fr.properties URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/resources/assets/org/apache/commons/math3/exception/util/LocalizedFormats_fr.properties?rev=1345472&r1=1345471&r2=1345472&view=diff ============================================================================== --- commons/proper/math/trunk/src/main/resources/assets/org/apache/commons/math3/exception/util/LocalizedFormats_fr.properties (original) +++ commons/proper/math/trunk/src/main/resources/assets/org/apache/commons/math3/exception/util/LocalizedFormats_fr.properties Sat Jun 2 09:46:23 2012 @@ -163,8 +163,6 @@ NOT_ENOUGH_POINTS_IN_SPLINE_PARTITION = NOT_INCREASING_NUMBER_OF_POINTS = les points {0} et {1} ne sont pas croissants ({2} > {3}) NOT_INCREASING_SEQUENCE = les points {3} et {2} ne sont pas croissants ({1} > {0}) NOT_MULTIPLICATION_COMPATIBLE_MATRICES = les dimensions {0}x{1} et {2}x{3} sont incompatibles pour la multiplication matricielle -ALPHA = alpha -BETA = beta NOT_POSITIVE_DEFINITE_MATRIX = matrice non d\u00e9finie positive NON_POSITIVE_DEFINITE_MATRIX = matrice non d\u00e9finie positive: l''\u00e9l\u00e9ment diagonal ({1},{1}) est inf\u00e9rieur \u00e0 {2} ({0}) NON_POSITIVE_DEFINITE_OPERATOR = op\u00e9rateur lin\u00e9aire non d\u00e9fini positif Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/exception/util/LocalizedFormatsTest.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/exception/util/LocalizedFormatsTest.java?rev=1345472&r1=1345471&r2=1345472&view=diff ============================================================================== --- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/exception/util/LocalizedFormatsTest.java (original) +++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/exception/util/LocalizedFormatsTest.java Sat Jun 2 09:46:23 2012 @@ -36,7 +36,7 @@ public class LocalizedFormatsTest { @Test public void testMessageNumber() { - Assert.assertEquals(311, LocalizedFormats.values().length); + Assert.assertEquals(309, LocalizedFormats.values().length); } @Test