fix properties parsing

Resolves #190
This commit is contained in:
marhali 2022-10-28 15:44:20 +02:00
parent d0483b4e6b
commit acb284ff88
2 changed files with 6 additions and 6 deletions

View File

@ -3,12 +3,14 @@
# easy-i18n Changelog # easy-i18n Changelog
## [Unreleased] ## [Unreleased]
### Fixed
- Parsing for <kbd>.properties</kbd> files
## [4.2.4] ## [4.2.4]
### Changed ### Changed
- Improved exception handling on syntax errors - Improved exception handling on syntax errors
### Fixed ### Fixed
- Some settings are not retained on IDE restarts - Some settings are not retained on IDE restarts
## [4.2.3] ## [4.2.3]

View File

@ -47,9 +47,7 @@ public class PropertiesParserStrategy extends ParserStrategy {
throw new SyntaxException(ex.getMessage(), file); throw new SyntaxException(ex.getMessage(), file);
} }
if(!input.isEmpty()) { PropertiesMapper.read(file.getLocale(), input, targetData, converter);
PropertiesMapper.read(file.getLocale(), input, targetData, converter);
}
} }
} }