summaryrefslogtreecommitdiffhomepage
path: root/java.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'java.html.markdown')
-rw-r--r--java.html.markdown10
1 files changed, 5 insertions, 5 deletions
diff --git a/java.html.markdown b/java.html.markdown
index 48e6ec75..a025bbba 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
@@ -734,7 +734,7 @@ public class EnumTest {
// Enum types are much more powerful than we show above.
// The enum body can include methods and other fields.
-// You can se more at https://docs.oracle.com/javase/tutorial/java/javaOO/enum.html
+// You can see more at https://docs.oracle.com/javase/tutorial/java/javaOO/enum.html
```
@@ -775,4 +775,4 @@ The links provided here below are just to get an understanding of the topic, fee
* [Objects First with Java](http://www.amazon.com/Objects-First-Java-Practical-Introduction/dp/0132492660)
-* [Java The Complete Reference](http://www.amazon.com/gp/product/0071606300) \ No newline at end of file
+* [Java The Complete Reference](http://www.amazon.com/gp/product/0071606300)