injector: saveJar -> save, finish main cleanup

This commit is contained in:
TheRealNull
2021-01-02 04:45:43 -05:00
parent cdd293a865
commit de95668590
32 changed files with 47 additions and 57 deletions

View File

@@ -137,7 +137,7 @@ public class Deob
//new MaxMemoryTransformer().transform(group);
//new RuneliteBufferTransformer().transform(group);
JarUtil.saveJar(group, new File(args[1]));
JarUtil.save(group, new File(args[1]));
stopwatch.stop();
logger.info("Done in {}", stopwatch);

View File

@@ -82,7 +82,7 @@ public class UpdateMappings
public void save(File out) throws IOException
{
JarUtil.saveJar(group2, out);
JarUtil.save(group2, out);
}
public static void main(String[] args) throws IOException

View File

@@ -119,7 +119,7 @@ public class JarUtil
return group;
}
public static void saveJar(ClassGroup group, File jarfile)
public static void save(ClassGroup group, File jarfile)
{
try (JarOutputStream jout = new JarOutputStream(new FileOutputStream(jarfile)))
{