aboutsummaryrefslogtreecommitdiff
path: root/src/utils/lombok/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/lombok/core')
-rw-r--r--src/utils/lombok/core/LombokImmutableList.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/lombok/core/LombokImmutableList.java b/src/utils/lombok/core/LombokImmutableList.java
index 4603f2ad..3b9ad89e 100644
--- a/src/utils/lombok/core/LombokImmutableList.java
+++ b/src/utils/lombok/core/LombokImmutableList.java
@@ -57,7 +57,7 @@ public final class LombokImmutableList<T> implements Iterable<T> {
return new LombokImmutableList<T>(new Object[] {a, b, c, d, e});
}
- public static <T> LombokImmutableList<T> of(T a, T b, T c, T d, T e, T f, T... g) {
+ @SafeVarargs public static <T> LombokImmutableList<T> of(T a, T b, T c, T d, T e, T f, T... g) {
Object[] rest = g == null ? new Object[] {null} : g;
Object[] val = new Object[rest.length + 6];
System.arraycopy(rest, 0, val, 6, rest.length);