summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJustin Tervay <jtervay97@gmail.com>2016-04-19 12:28:31 -0400
committerJustin Tervay <jtervay97@gmail.com>2016-04-19 12:28:31 -0400
commit898dcda0f2be31ed3ee232a623d854e63c373082 (patch)
tree9142f1990eae0f0afb5f8b69d073fc8e4348df1b
parent0edf991301fc4bafeda383649361c67f2f4e0235 (diff)
Fixed typo(s) in Java (EN)
-rw-r--r--java.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/java.html.markdown b/java.html.markdown
index 48e6ec75..ed7e4f53 100644
--- a/java.html.markdown
+++ b/java.html.markdown
@@ -407,9 +407,9 @@ public class LearnJava {
// in an easy way. Usually you end up in the following way:
private static final Set<String> COUNTRIES = new HashSet<String>();
static {
- validCodes.add("DENMARK");
- validCodes.add("SWEDEN");
- validCodes.add("FINLAND");
+ COUNTRIES.add("DENMARK");
+ COUNTRIES.add("SWEDEN");
+ COUNTRIES.add("FINLAND");
}
// But there's a nifty way to achieve the same thing in an