completely submitting to codacy
This commit is contained in:
		| @@ -76,7 +76,7 @@ public class CreateDistTask extends BaritoneGradleTask { | ||||
|             return DatatypeConverter.printHexBinary(SHA1_DIGEST.digest(Files.readAllBytes(path))).toLowerCase(); | ||||
|         } catch (Exception e) { | ||||
|             // haha no thanks | ||||
|             throw new RuntimeException(e); | ||||
|             throw new IllegalStateException(e); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -241,7 +241,7 @@ public class ProguardTask extends BaritoneGradleTask { | ||||
|         // Halt the current thread until the process is complete, if the exit code isn't 0, throw an exception | ||||
|         int exitCode = p.waitFor(); | ||||
|         if (exitCode != 0) { | ||||
|             throw new Exception("Proguard exited with code " + exitCode); | ||||
|             throw new IllegalStateException("Proguard exited with code " + exitCode); | ||||
|         } | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user