From d24d251c59780b1f8432d4d83d01a1384f08bfd3 Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Tue, 10 Dec 2019 10:45:51 -0600 Subject: Make some changes, I guess --- csci1913/Java/lab13_strap012.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'csci1913/Java/lab13_strap012.java') diff --git a/csci1913/Java/lab13_strap012.java b/csci1913/Java/lab13_strap012.java index 8f6746b..e5ce45d 100644 --- a/csci1913/Java/lab13_strap012.java +++ b/csci1913/Java/lab13_strap012.java @@ -16,7 +16,7 @@ class Test private static int hash(String name) { - return (name.charAt(0) + name.charAt(name.length()-1)) * name.length() % 997; + return (name.charAt(0) + name.charAt(name.length()-1)) * name.length() % 1023; } public static void main(String [] args) -- cgit v1.2.3