Permalink
Browse files

Add generics to other rawtypes

  • Loading branch information...
kenzierocks committed Dec 27, 2018
1 parent 3fefcbf commit de7d9421b173f38f7455826a64e79c409366c4b7
@@ -87,7 +87,7 @@ public void addFromJar(File file) throws IOException {
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();

@@ -85,7 +85,7 @@ public void addFromJar(File file) throws IOException {
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();

0 comments on commit de7d942

Please sign in to comment.