From 898dcda0f2be31ed3ee232a623d854e63c373082 Mon Sep 17 00:00:00 2001 From: Justin Tervay Date: Tue, 19 Apr 2016 12:28:31 -0400 Subject: [PATCH] Fixed typo(s) in Java (EN) --- java.html.markdown | 6 +++--- 1 file 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 COUNTRIES = new HashSet(); 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