From 4335740bfca8b974c2472f72ecda7b516141fe48 Mon Sep 17 00:00:00 2001 From: hrj Date: Mon, 19 Apr 2021 00:23:54 +0530 Subject: [PATCH] remove O (Capital O) from set of safe alphabets since it is easily confused with 0 (zero) Signed-off-by: hrj --- src/main/java/lc/misc/HelperFunctions.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/lc/misc/HelperFunctions.java b/src/main/java/lc/misc/HelperFunctions.java index fa12fc8..bda31b8 100644 --- a/src/main/java/lc/misc/HelperFunctions.java +++ b/src/main/java/lc/misc/HelperFunctions.java @@ -11,10 +11,10 @@ public class HelperFunctions { RenderingHints.KEY_FRACTIONALMETRICS, RenderingHints.VALUE_FRACTIONALMETRICS_ON); } - public static final String safeAlphabets = "ABCDEFGHJKMNOPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"; - public static final String allAlphabets = safeAlphabets + "ILl"; + public static final String safeAlphabets = "ABCDEFGHJKMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"; + public static final String allAlphabets = safeAlphabets + "ILlO"; public static final String safeNumbers = "23456789"; - public static final String allNumbers = safeNumbers + "1"; + public static final String allNumbers = safeNumbers + "10"; public static final String specialCharacters = "$#%@&?"; public static final String safeCharacters = safeAlphabets + safeNumbers + specialCharacters;