From 444982e65f7ab4d6ffce722bdc3bbc7e44bc9dab Mon Sep 17 00:00:00 2001 From: hrj Date: Sat, 2 Apr 2022 23:06:57 +0530 Subject: [PATCH] added HelperFunctions.safeAlphaNum --- src/main/java/lc/misc/HelperFunctions.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/lc/misc/HelperFunctions.java b/src/main/java/lc/misc/HelperFunctions.java index 9b196aa..755f390 100644 --- a/src/main/java/lc/misc/HelperFunctions.java +++ b/src/main/java/lc/misc/HelperFunctions.java @@ -29,7 +29,8 @@ public class HelperFunctions { public static final String safeNumbers = "23456789"; public static final String allNumbers = safeNumbers + "10"; public static final String specialCharacters = "$#%@&?"; - public static final String safeCharacters = safeAlphabets + safeNumbers + specialCharacters; + public static final String safeAlphaNum = safeAlphabets + safeNumbers; + public static final String safeCharacters = safeAlphaNum + specialCharacters; public static String randomString(final int n) { return randomString(n, safeCharacters);