HHH-7600: Modified FilterDefinition constructor to allow for numm parameter types

This commit is contained in:
John Verhaeg 2012-09-14 13:07:59 -05:00
parent d4efae0794
commit 4882bebdba
1 changed files with 4 additions and 2 deletions

View File

@ -49,7 +49,9 @@ public class FilterDefinition implements Serializable {
public FilterDefinition(String name, String defaultCondition, Map<String,Type> parameterTypes) {
this.filterName = name;
this.defaultFilterCondition = defaultCondition;
this.parameterTypes.putAll( parameterTypes );
if (parameterTypes != null) {
this.parameterTypes.putAll( parameterTypes );
}
}
/**