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