mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Fixed typo(s) in Java (EN)
This commit is contained in:
parent
0edf991301
commit
898dcda0f2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user