From bf43dc747791f9bbf953cfea8200fac478f62d80 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Thu, 23 May 2013 21:12:03 +0200 Subject: Removed a SuppressWarnings which old eclipse doesn't care about for some reason... now I'm just confused. Do we need it or not? --- src/utils/lombok/core/ImmutableList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/lombok/core') diff --git a/src/utils/lombok/core/ImmutableList.java b/src/utils/lombok/core/ImmutableList.java index a151ae6f..8b478dbc 100644 --- a/src/utils/lombok/core/ImmutableList.java +++ b/src/utils/lombok/core/ImmutableList.java @@ -57,7 +57,7 @@ public final class ImmutableList implements Iterable { return new ImmutableList(new Object[] {a, b, c, d, e}); } - public static ImmutableList of(T a, T b, T c, T d, T e, T f, @SuppressWarnings("unchecked") T... g) { + public static ImmutableList 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); -- cgit