Skip to content

Commit

Permalink
#923 allow for values formatted with leading or trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanrauh committed Jun 2, 2018
1 parent b8ebead commit 1c26956
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,11 @@ private boolean isInList(String value, String[] options) {
} else if (s.equals(value))
return true;
}
for (String s : options) {
if (s != null && s.trim().equals(value)) {
return true;
}
}
return false;
}

Expand Down

0 comments on commit 1c26956

Please sign in to comment.