Update locale.java

This commit is contained in:
Vrontis 2019-07-11 19:28:52 +00:00 committed by Brianna
parent 170b014f52
commit 9a420ccf69
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ public class Locale {
try (BufferedReader reader = new BufferedReader(new FileReader(file))) {
String line;
for (int lineNumber = 0; (line = reader.readLine()) != null; lineNumber++) {
if (line.isEmpty() || line.startsWith("#") /* Comment */) continue;
if (line.trim().isEmpty() || line.startsWith("#") /* Comment */) continue;
Matcher matcher = NODE_PATTERN.matcher(line);
if (!matcher.find()) {