Fixed Java warnings.

This commit is contained in:
sk89q
2010-12-29 23:15:53 -08:00
parent 687260801f
commit 912468f8a1
29 changed files with 57 additions and 46 deletions

View File

@@ -32,6 +32,7 @@ public class ZippedAlphaChunkStore extends NestedFileChunkStore {
/**
* ZIP file.
*/
@SuppressWarnings("unused")
private File zipFile;
/**
* Actual ZIP.
@@ -105,7 +106,9 @@ public class ZippedAlphaChunkStore extends NestedFileChunkStore {
// So not there either...
if (testEntry == null) {
for (Enumeration e = zip.entries(); e.hasMoreElements(); ) {
for (Enumeration<? extends ZipEntry> e = zip.entries();
e.hasMoreElements(); ) {
testEntry = (ZipEntry)e.nextElement();
// Whoo, found level.dat!