Skip to content

Commit

Permalink
TEIIDDES-3168
Browse files Browse the repository at this point in the history
 * added trim() call to the allowed value string of the property node
  • Loading branch information
blafond committed Dec 14, 2017
1 parent 7679870 commit b7fe607
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ private void buildPropertyDefinitions(List<ModelNode> propsNodes) {
List<ModelNode> allowed = node.get("allowed").asList();
ArrayList<String> list = new ArrayList<String>();
for(ModelNode m:allowed) {
list.add(m.asString());
list.add(m.asString().trim());
}
def.setAllowedValues(list);
}
Expand Down

0 comments on commit b7fe607

Please sign in to comment.