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,8 +49,10 @@ public class FilterDefinition implements Serializable {
public FilterDefinition(String name, String defaultCondition, Map<String,Type> parameterTypes) {
this.filterName = name;
this.defaultFilterCondition = defaultCondition;
if (parameterTypes != null) {
this.parameterTypes.putAll( parameterTypes );
}
}
/**
* Get the name of the filter this configuration defines.