summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndy <andrewgallasch@gmail.com>2015-10-31 20:05:05 +1030
committerAndy <andrewgallasch@gmail.com>2015-10-31 20:05:05 +1030
commit231b60b7c0c21e2f76a3dfc0939abe1b7efbfad3 (patch)
tree6166db301035ff2cb54f38f4a4cd3a8937b4d9b8
parent4593c65543eec73688acf999c4bab002116909b0 (diff)
Added missing new in HashSet instantiation
-rw-r--r--java.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/java.html.markdown b/java.html.markdown
index 966aee15..2836f601 100644
--- a/java.html.markdown
+++ b/java.html.markdown
@@ -416,7 +416,7 @@ public class LearnJava {
// easier way, by using something that is called Double Brace
// Initialization.
- private static final Set<String> COUNTRIES = HashSet<String>() {{
+ private static final Set<String> COUNTRIES = new HashSet<String>() {{
add("DENMARK");
add("SWEDEN");
add("FINLAND");