mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 10:01:38 +00:00
Merge pull request #2235 from jhtervay/master
[Java/EN] Fixed typo(s) in Java
This commit is contained in:
commit
421dab5dca
@ -407,9 +407,9 @@ public class LearnJava {
|
|||||||
// in an easy way. Usually you end up in the following way:
|
// in an easy way. Usually you end up in the following way:
|
||||||
private static final Set<String> COUNTRIES = new HashSet<String>();
|
private static final Set<String> COUNTRIES = new HashSet<String>();
|
||||||
static {
|
static {
|
||||||
validCodes.add("DENMARK");
|
COUNTRIES.add("DENMARK");
|
||||||
validCodes.add("SWEDEN");
|
COUNTRIES.add("SWEDEN");
|
||||||
validCodes.add("FINLAND");
|
COUNTRIES.add("FINLAND");
|
||||||
}
|
}
|
||||||
|
|
||||||
// But there's a nifty way to achieve the same thing in an
|
// But there's a nifty way to achieve the same thing in an
|
||||||
|
Loading…
Reference in New Issue
Block a user