mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Add generics to other rawtypes
This commit is contained in:
parent
590b7e23a9
commit
94ebb81e92
@ -91,7 +91,7 @@ public class BukkitImplLoader {
|
|||||||
Closer closer = Closer.create();
|
Closer closer = Closer.create();
|
||||||
JarFile jar = closer.register(new JarFile(file));
|
JarFile jar = closer.register(new JarFile(file));
|
||||||
try {
|
try {
|
||||||
Enumeration entries = jar.entries();
|
Enumeration<JarEntry> entries = jar.entries();
|
||||||
while (entries.hasMoreElements()) {
|
while (entries.hasMoreElements()) {
|
||||||
JarEntry jarEntry = (JarEntry) entries.nextElement();
|
JarEntry jarEntry = (JarEntry) entries.nextElement();
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ public class SpongeImplLoader {
|
|||||||
Closer closer = Closer.create();
|
Closer closer = Closer.create();
|
||||||
JarFile jar = closer.register(new JarFile(file));
|
JarFile jar = closer.register(new JarFile(file));
|
||||||
try {
|
try {
|
||||||
Enumeration entries = jar.entries();
|
Enumeration<JarEntry> entries = jar.entries();
|
||||||
while (entries.hasMoreElements()) {
|
while (entries.hasMoreElements()) {
|
||||||
JarEntry jarEntry = (JarEntry) entries.nextElement();
|
JarEntry jarEntry = (JarEntry) entries.nextElement();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user