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
3fefcbf971
commit
de7d9421b1
@ -87,7 +87,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