Skip to content

Commit 14a7417

Browse files
committed
commons: Suppres warning about varargs
1 parent 2ab14ec commit 14a7417

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

alpha-commons/src/main/java/at/ac/tuwien/kr/alpha/commons/AnswerSetBuilder.java

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ public final <T extends Comparable<T>> AnswerSetBuilder instance(final T... term
7575

7676
// Note that usage of terms does not pollute the heap,
7777
// since we are only reading, not writing.
78+
@SuppressWarnings("varargs")
7879
List<Term> termList = Stream
7980
.of(terms)
8081
.map(Terms::newConstant)

0 commit comments

Comments
 (0)