This commit is contained in:
thedaneeffect committed 2021-03-09 17:44:35 -05:00
1 parent cc40cc2c67
commit 24df71f922
31 files changed
+1400 -1418

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ public class StringUtil {
}
public static long getBase37(String s) {
public static long toBase37(String s) {
long l = 0L;
for (int i = 0; (i < s.length()) && (i < 12); i++) {
char c = s.charAt(i);
@@ -65,7 +65,7 @@ public class StringUtil {
return String.format("%d.%d.%d.%d", (ipv4 >> 24) & 0xff, (ipv4 >> 16) & 0xff, (ipv4 >> 8) & 0xff, ipv4 & 0xff);
}
public static String method587(String s) {
public static String formatName(String s) {
if (s.length() > 0) {
char[] ac = s.toCharArray();
for (int j = 0; j < ac.length; j++) {