]> git.mxchange.org Git - juser-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sat, 12 Nov 2022 20:30:13 +0000 (21:30 +0100)
committerRoland Häder <roland@mxchange.org>
Sat, 12 Nov 2022 20:30:13 +0000 (21:30 +0100)
- added underscores for better readability

src/org/mxchange/jusercore/model/utils/UserUtils.java

index 566de78cda0abf0f52b2b940d7386a6f8c827955..82a0ffeea47b5d5fd6ec842aaf3e57f8fa75d180 100644 (file)
@@ -191,7 +191,7 @@ public class UserUtils implements Serializable {
         */
        public static String generateRandomUserName () {
                // User name's format is normally "user" + random number (10 digits)
-               final String userName = String.format("user%d", RANDOM_NUMBER_GENERATOR.nextInt(10000000)); //NOI18N
+               final String userName = String.format("user%d", RANDOM_NUMBER_GENERATOR.nextInt(10_000_000)); //NOI18N
 
                // Return it
                return userName;