commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r488875 - /jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/routines/checkdigit/ModulusCheckDigit.java
Date Wed, 20 Dec 2006 00:52:18 GMT
Author: niallp
Date: Tue Dec 19 16:52:17 2006
New Revision: 488875

URL: http://svn.apache.org/viewvc?view=rev&rev=488875
Log:
minor change for consistency

Modified:
    jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/routines/checkdigit/ModulusCheckDigit.java

Modified: jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/routines/checkdigit/ModulusCheckDigit.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/routines/checkdigit/ModulusCheckDigit.java?view=diff&rev=488875&r1=488874&r2=488875
==============================================================================
--- jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/routines/checkdigit/ModulusCheckDigit.java
(original)
+++ jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/routines/checkdigit/ModulusCheckDigit.java
Tue Dec 19 16:52:17 2006
@@ -65,8 +65,8 @@
             return false;
         }
         try {       
-            int remainder = calculateModulus(code, true);
-            return (remainder == 0);
+            int modulusResult = calculateModulus(code, true);
+            return (modulusResult == 0);
         } catch (CheckDigitException  ex) {
             return false;
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message