Add generics to other rawtypes

This commit is contained in:
Kenzie Togami 2018-12-26 16:45:46 -08:00 committed by IronApollo
parent 590b7e23a9
commit 94ebb81e92
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ public class BukkitImplLoader {
Closer closer = Closer.create();
JarFile jar = closer.register(new JarFile(file));
try {
Enumeration entries = jar.entries();
Enumeration<JarEntry> entries = jar.entries();
while (entries.hasMoreElements()) {
JarEntry jarEntry = (JarEntry) entries.nextElement();

View File

@ -85,7 +85,7 @@ public class SpongeImplLoader {
Closer closer = Closer.create();
JarFile jar = closer.register(new JarFile(file));
try {
Enumeration entries = jar.entries();
Enumeration<JarEntry> entries = jar.entries();
while (entries.hasMoreElements()) {
JarEntry jarEntry = (JarEntry) entries.nextElement();