diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-05-23 21:12:03 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-06-16 13:20:53 +0200 |
commit | bf43dc747791f9bbf953cfea8200fac478f62d80 (patch) | |
tree | b39dfacac3a93634f8f618eba7b7fb4f7f68d927 /src/utils/lombok/core | |
parent | b3dac7722e699b3f18169265fd77f1731a82d960 (diff) | |
download | lombok-bf43dc747791f9bbf953cfea8200fac478f62d80.tar.gz lombok-bf43dc747791f9bbf953cfea8200fac478f62d80.tar.bz2 lombok-bf43dc747791f9bbf953cfea8200fac478f62d80.zip |
Removed a SuppressWarnings which old eclipse doesn't care about for some reason... now I'm just confused. Do we need it or not?
Diffstat (limited to 'src/utils/lombok/core')
-rw-r--r-- | src/utils/lombok/core/ImmutableList.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<T> implements Iterable<T> { return new ImmutableList<T>(new Object[] {a, b, c, d, e}); } - public static <T> ImmutableList<T> of(T a, T b, T c, T d, T e, T f, @SuppressWarnings("unchecked") T... g) { + public static <T> ImmutableList<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); |