Remove some deprecated methods and clean up

This commit is contained in:
Ben Staddon authored and mezz committed 2017-06-25 22:30:18 -07:00
1 parent 7892ca922c
commit 9a09ff68aa
28 files changed
+45 -444

No files matched your search

@@ -28,7 +28,6 @@ import java.util.Map;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import net.minecraftforge.common.util.Java6Utils;
import org.apache.commons.io.IOUtils;
import net.minecraft.launchwrapper.LaunchClassLoader;
@@ -146,7 +145,7 @@ public class FMLSanityChecker implements IFMLCallHook
}
finally
{
Java6Utils.closeZipQuietly(mcJarFile);
IOUtils.closeQuietly(mcJarFile);
}
}
else
@@ -24,7 +24,6 @@ import java.util.Collections;
import java.util.List;
import java.util.jar.JarFile;
import net.minecraftforge.common.util.Java6Utils;
import net.minecraftforge.fml.common.FMLLog;
import net.minecraftforge.fml.common.LoaderException;
import net.minecraftforge.fml.common.MetadataCollection;
@@ -120,7 +119,7 @@ public class JarDiscoverer implements ITypeDiscoverer
}
finally
{
Java6Utils.closeZipQuietly(jar);
IOUtils.closeQuietly(jar);
}
return foundMods;
}