Author: lektran
Date: Tue Sep 8 00:49:20 2009
New Revision: 812314
URL:
http://svn.apache.org/viewvc?rev=812314&view=revLog:
Copy/paste error, thanks Adam
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilValidate.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilValidate.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilValidate.java?rev=812314&r1=812313&r2=812314&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilValidate.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilValidate.java Tue Sep 8 00:49:20 2009
@@ -1303,7 +1303,7 @@
public static boolean isValidEan(String ean) {
if (ean == null || ean.length() != 13) {
- throw new IllegalArgumentException("Invalid UPC length; must be 12 characters");
+ throw new IllegalArgumentException("Invalid EAN length; must be 13 characters");
}
char csum = ean.charAt(13);
char calcSum = calcChecksum(ean, 13);