diff --git a/CHANGELOG.md b/CHANGELOG.md index 2934414..0707971 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,12 +3,14 @@ # easy-i18n Changelog ## [Unreleased] +### Fixed +- Parsing for .properties files ## [4.2.4] -### Changed -- Improved exception handling on syntax errors +### Changed +- Improved exception handling on syntax errors -### Fixed +### Fixed - Some settings are not retained on IDE restarts ## [4.2.3] diff --git a/src/main/java/de/marhali/easyi18n/io/parser/properties/PropertiesParserStrategy.java b/src/main/java/de/marhali/easyi18n/io/parser/properties/PropertiesParserStrategy.java index 936dbf8..007c788 100644 --- a/src/main/java/de/marhali/easyi18n/io/parser/properties/PropertiesParserStrategy.java +++ b/src/main/java/de/marhali/easyi18n/io/parser/properties/PropertiesParserStrategy.java @@ -47,9 +47,7 @@ public class PropertiesParserStrategy extends ParserStrategy { throw new SyntaxException(ex.getMessage(), file); } - if(!input.isEmpty()) { - PropertiesMapper.read(file.getLocale(), input, targetData, converter); - } + PropertiesMapper.read(file.getLocale(), input, targetData, converter); } }