Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-07 20:10:06 +01:00
Add generics to other rawtypes
Dieser Commit ist enthalten in:
Ursprung
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();
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren