mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-03 05:20:17 +00:00
Removed a SuppressWarnings which old eclipse doesn't care about for some reason... now I'm just confused. Do we need it or not?
This commit is contained in:
1 parent
b3dac7722e
commit
bf43dc7477
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user