diff options
| author | Andy <andrewgallasch@gmail.com> | 2015-10-31 20:05:05 +1030 | 
|---|---|---|
| committer | Andy <andrewgallasch@gmail.com> | 2015-10-31 20:05:05 +1030 | 
| commit | 231b60b7c0c21e2f76a3dfc0939abe1b7efbfad3 (patch) | |
| tree | 6166db301035ff2cb54f38f4a4cd3a8937b4d9b8 | |
| parent | 4593c65543eec73688acf999c4bab002116909b0 (diff) | |
Added missing new in HashSet instantiation
| -rw-r--r-- | java.html.markdown | 2 | 
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"); | 
