Add generics to other rawtypes

This commit is contained in:
Kenzie Togami 2018-12-26 16:45:46 -08:00
parent 3fefcbf971
commit de7d9421b1
No known key found for this signature in database
GPG Key ID: 5D200B325E157A81
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,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();