commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r762126 - in /commons/proper/math/trunk/src/java/org/apache/commons/math: MessagesResources_fr.java transform/FastFourierTransformer.java
Date Sun, 05 Apr 2009 17:51:02 GMT
Author: luc
Date: Sun Apr  5 17:51:01 2009
New Revision: 762126

URL: http://svn.apache.org/viewvc?rev=762126&view=rev
Log:
fixed typo in error message

Modified:
    commons/proper/math/trunk/src/java/org/apache/commons/math/MessagesResources_fr.java
    commons/proper/math/trunk/src/java/org/apache/commons/math/transform/FastFourierTransformer.java

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/MessagesResources_fr.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/MessagesResources_fr.java?rev=762126&r1=762125&r2=762126&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/MessagesResources_fr.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/MessagesResources_fr.java Sun
Apr  5 17:51:01 2009
@@ -509,7 +509,7 @@
      "le nombre d''\u00e9chantillons n''est pas positif : {0}" },
    { "{0} is not a power of 2, consider padding for fix",
      "{0} n''est pas une puissance de 2, ajoutez des \u00e9l\u00e9ments pour corriger" },
-   { "some dimensions don't math: {0} != {1}",
+   { "some dimensions don't match: {0} != {1}",
      "certaines dimensions sont incoh\u00e9rentes : {0} != {1}" },
 
    // org.apache.commons.math.transform.FastCosineTransformer

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/transform/FastFourierTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/transform/FastFourierTransformer.java?rev=762126&r1=762125&r2=762126&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/transform/FastFourierTransformer.java
(original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/transform/FastFourierTransformer.java
Sun Apr  5 17:51:01 2009
@@ -666,12 +666,12 @@
             throws IllegalArgumentException {
             if (vector == null && dimensionSize.length > 1) {
                 throw MathRuntimeException.createIllegalArgumentException(
-                        "some dimensions don't math: {0} != {1}",
+                        "some dimensions don't match: {0} != {1}",
                         0, dimensionSize.length);
             }
             if (vector != null && vector.length != dimensionSize.length) {
                 throw MathRuntimeException.createIllegalArgumentException(
-                        "some dimensions don't math: {0} != {1}",
+                        "some dimensions don't match: {0} != {1}",
                         vector.length, dimensionSize.length);
             }
             
@@ -695,14 +695,14 @@
             if (vector == null) {
                 if (dimensionSize.length > 1) {
                     throw MathRuntimeException.createIllegalArgumentException(
-                            "some dimensions don't math: {0} != {1}",
+                            "some dimensions don't match: {0} != {1}",
                             0, dimensionSize.length);
                 }
                 return null;
             }
             if (vector.length != dimensionSize.length) {
                 throw MathRuntimeException.createIllegalArgumentException(
-                        "some dimensions don't math: {0} != {1}",
+                        "some dimensions don't match: {0} != {1}",
                         vector.length,dimensionSize.length);
             }
 



Mime
View raw message