summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/src
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit.test/src')
-rw-r--r--org.eclipse.jgit.test/src/org/eclipse/jgit/lib/Sets.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/src/org/eclipse/jgit/lib/Sets.java b/org.eclipse.jgit.test/src/org/eclipse/jgit/lib/Sets.java
index 731685731b..4454e1a393 100644
--- a/org.eclipse.jgit.test/src/org/eclipse/jgit/lib/Sets.java
+++ b/org.eclipse.jgit.test/src/org/eclipse/jgit/lib/Sets.java
@@ -47,6 +47,7 @@ import java.util.HashSet;
import java.util.Set;
public class Sets {
+ @SafeVarargs
public static <T> Set<T> of(T... elements) {
Set<T> ret = new HashSet<T>();
for (T element : elements)