Skip to content

Commit

Permalink
Reverting #41 as it broke binding of ChoiceParameterDefinition in scr…
Browse files Browse the repository at this point in the history
…ipts.
  • Loading branch information
jglick committed Oct 5, 2018
1 parent 812bb77 commit e8a0cc6
Showing 1 changed file with 0 additions and 4 deletions.
Expand Up @@ -177,10 +177,6 @@ public DescribableModel(Class<T> clazz) {
}

private void addParameter(Map<String,DescribableParameter> props, Type type, String name, Setter setter) {
if (type == Object.class) {
// For example, ChoiceParameterDefinition.choices is just not analyzable.
return;
}
props.put(name, new DescribableParameter(this, type, name, setter));
}

Expand Down

0 comments on commit e8a0cc6

Please sign in to comment.