[izpack-changes] izpack-src/src/lib/com/izforge/izpack/sample PWDEncryptor.java,1.3,1.4

jponge nobody at sheep.berlios.de
Tue Mar 21 19:14:55 CET 2006


Update of /cvsroot/izpack/izpack-src/src/lib/com/izforge/izpack/sample
In directory sheep:/tmp/cvs-serv3622/src/lib/com/izforge/izpack/sample

Modified Files:
	PWDEncryptor.java 
Log Message:
Some fixes adviced by IntelliJ IDEA 5.1 code inspector.

Index: PWDEncryptor.java
===================================================================
RCS file: /cvsroot/izpack/izpack-src/src/lib/com/izforge/izpack/sample/PWDEncryptor.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- PWDEncryptor.java	12 Mar 2006 16:32:27 -0000	1.3
+++ PWDEncryptor.java	21 Mar 2006 18:14:49 -0000	1.4
@@ -66,16 +66,16 @@
       temp = password [i] - 57;
       if (i > 0)
       {
-        temp = temp + password [i - 1];
+          temp += password[i - 1];
       }
 
       if ((temp % 3) == 0)
       {
-        temp = temp + 13;
+          temp += 13;
       }
       if (temp < 0)
       {
-        temp = temp + 193;
+          temp += 193;
       }
     
       result [i] = (char)temp;




More information about the izpack-changes mailing list