Skip to content

Commit

Permalink
Fixed #1245
Browse files Browse the repository at this point in the history
  • Loading branch information
oscargus committed Apr 19, 2016
1 parent 094f11d commit 5f6c7e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ private void handlePropertiesLine(String line, Map<String, Object> map) {
if ((index > 0) && (index <= (line.length() - 1))) {
String propertyName = line.substring(0, index).trim();
String value = line.substring(index + 1);
if ((value.trim().length() > 2) && QUOTED.matcher(value.trim()).matches()) {
if ((value.trim().length() > 1) && QUOTED.matcher(value.trim()).matches()) {
value = value.trim().substring(1, value.trim().length() - 1);
}
Object toSet = value;
Expand Down

0 comments on commit 5f6c7e2

Please sign in to comment.