]> git.mxchange.org Git - juser-login-core.git/commitdiff
concat() was not working?
authorRoland Haeder <roland@mxchange.org>
Wed, 13 Apr 2016 21:00:35 +0000 (23:00 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 13 Apr 2016 21:00:35 +0000 (23:00 +0200)
src/org/mxchange/jusercore/model/user/UserUtils.java

index b21a217388b6b541fa52c0daa06c96530eb07a15..486e20f291a4bf8c4dc3a0431be8eeec7cfbed17 100644 (file)
@@ -79,7 +79,7 @@ public class UserUtils extends BaseFrameworkSystem {
                        int pos = RANDOM_NUMBER_GENERATOR.nextInt(PASSWORD_ALPHABET.length());
 
                        // Get char at this position and add it to the final password
-                       String dummy = password.concat(String.valueOf(PASSWORD_ALPHABET.charAt(pos)));
+                       password += String.valueOf(PASSWORD_ALPHABET.charAt(pos));
                }
 
                // Should have the wanted length