Skip to content
Snippets Groups Projects
Commit d4ea9a0e authored by Andrea Burattin's avatar Andrea Burattin
Browse files

Added @SafeVarargs annotation to basic filters

parent 788e5bb1
Branches
Tags
No related merge requests found
......@@ -15,6 +15,7 @@ public class ExcludeOnCaseAttributeEqualityFilter<T extends XAttribute> implemen
private String attributeName;
private Set<T> attributeValues;
@SafeVarargs
public ExcludeOnCaseAttributeEqualityFilter(String attributeName, T ...values) {
this.attributeName = attributeName;
this.attributeValues = new HashSet<T>(Arrays.asList(values));
......
......@@ -15,6 +15,7 @@ public class ExcludeOnEventAttributeEqualityFilter<T extends XAttribute> impleme
private String attributeName;
private Set<T> attributeValues;
@SafeVarargs
public ExcludeOnEventAttributeEqualityFilter(String attributeName, T ...values) {
this.attributeName = attributeName;
this.attributeValues = new HashSet<T>(Arrays.asList(values));
......
......@@ -15,6 +15,7 @@ public class RetainOnCaseAttributeEqualityFilter<T extends XAttribute> implement
private String attributeName;
private Set<T> attributeValues;
@SafeVarargs
public RetainOnCaseAttributeEqualityFilter(String attributeName, T ...values) {
this.attributeName = attributeName;
this.attributeValues = new HashSet<T>(Arrays.asList(values));
......
......@@ -15,6 +15,7 @@ public class RetainOnEventAttributeEqualityFilter<T extends XAttribute> implemen
private String attributeName;
private Set<T> attributeValues;
@SafeVarargs
public RetainOnEventAttributeEqualityFilter(String attributeName, T ...values) {
this.attributeName = attributeName;
this.attributeValues = new HashSet<T>(Arrays.asList(values));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment