diff --git a/src/main/java/com/songoda/ultimatestacker/Locale.java b/src/main/java/com/songoda/ultimatestacker/Locale.java index 5ff346f..1971bc4 100644 --- a/src/main/java/com/songoda/ultimatestacker/Locale.java +++ b/src/main/java/com/songoda/ultimatestacker/Locale.java @@ -355,7 +355,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()) {