From b883c1001044f02d0c958f63112866b5a5c7adcf Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 13 Apr 2016 23:00:35 +0200 Subject: [PATCH] concat() was not working? --- src/org/mxchange/jusercore/model/user/UserUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/mxchange/jusercore/model/user/UserUtils.java b/src/org/mxchange/jusercore/model/user/UserUtils.java index b21a217..486e20f 100644 --- a/src/org/mxchange/jusercore/model/user/UserUtils.java +++ b/src/org/mxchange/jusercore/model/user/UserUtils.java @@ -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 -- 2.39.5