Complain not about rawtypes here javac7.
This commit is contained in:
@@ -145,7 +145,8 @@ public class Transport
|
||||
if (_unordered == null) {
|
||||
int length = Type.values().length;
|
||||
_unordered = new Transport[length];
|
||||
@SuppressWarnings("unchecked") HashIntMap<Transport>[] ordered = new HashIntMap[length];
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" }) HashIntMap<Transport>[] ordered =
|
||||
new HashIntMap[length];
|
||||
_ordered = ordered;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user