summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cuchaz/enigma/ConvertMain.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cuchaz/enigma/ConvertMain.java b/src/cuchaz/enigma/ConvertMain.java
index cf231a25..9a370115 100644
--- a/src/cuchaz/enigma/ConvertMain.java
+++ b/src/cuchaz/enigma/ConvertMain.java
@@ -47,10 +47,10 @@ public class ConvertMain {
47 String outVer = getArg(args, 3, "New Version", true); 47 String outVer = getArg(args, 3, "New Version", true);
48 String outSnapshot = getArg(args, 4, "New Snapshot", true); 48 String outSnapshot = getArg(args, 4, "New Snapshot", true);
49 String side = getArg(args, 5, "Side", true); 49 String side = getArg(args, 5, "Side", true);
50 if(inSnapshot.equalsIgnoreCase("none"){ 50 if(inSnapshot.equalsIgnoreCase("none")){
51 inSnapshot = null; 51 inSnapshot = null;
52 } 52 }
53 if(outSnapshot.equalsIgnoreCase("none"){ 53 if(outSnapshot.equalsIgnoreCase("none")){
54 outSnapshot = null; 54 outSnapshot = null;
55 } 55 }
56 //Get the home Directory 56 //Get the home Directory
@@ -166,6 +166,7 @@ public class ConvertMain {
166 }); 166 });
167 } 167 }
168 168
169 @SuppressWarnings("unused")
169 private static void convertMappings(File outMappingsFile, JarFile sourceJar, JarFile destJar, Mappings mappings, File classMatchesFile) 170 private static void convertMappings(File outMappingsFile, JarFile sourceJar, JarFile destJar, Mappings mappings, File classMatchesFile)
170 throws IOException { 171 throws IOException {
171 System.out.println("Reading class matches..."); 172 System.out.println("Reading class matches...");
@@ -232,6 +233,7 @@ public class ConvertMain {
232 }); 233 });
233 } 234 }
234 235
236 @SuppressWarnings("unused")
235 private static void convertMappings(File outMappingsFile, JarFile sourceJar, JarFile destJar, Mappings mappings, File classMatchesFile, File fieldMatchesFile) 237 private static void convertMappings(File outMappingsFile, JarFile sourceJar, JarFile destJar, Mappings mappings, File classMatchesFile, File fieldMatchesFile)
236 throws IOException { 238 throws IOException {
237 239