diff options
author | Geoff Liu <cangming.liu@gmail.com> | 2016-04-19 18:40:59 +0200 |
---|---|---|
committer | Geoff Liu <cangming.liu@gmail.com> | 2016-04-19 18:40:59 +0200 |
commit | 421dab5dcac9218ef9205244ad57689a925fad48 (patch) | |
tree | 9142f1990eae0f0afb5f8b69d073fc8e4348df1b | |
parent | 0edf991301fc4bafeda383649361c67f2f4e0235 (diff) | |
parent | 898dcda0f2be31ed3ee232a623d854e63c373082 (diff) |
Merge pull request #2235 from jhtervay/master
[Java/EN] Fixed typo(s) in Java
-rw-r--r-- | java.html.markdown | 6 |
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 |