Skip to content

Commit

Permalink
Fixed a bug where the name of the Fernflower decompiler did not work …
Browse files Browse the repository at this point in the history
…when upper cased
  • Loading branch information
ThisIsLibra committed Mar 20, 2019
1 parent 5f7a18f commit 2fc95b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/apc/ArgumentParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private ArgumentPackage parseDecompile(String[] args) {
ArgumentPackage argumentPackage;
//Set the decompiler type
String decompilerString = args[1];
if (decompilerString.equals(DecompilerType.FERNFLOWER.toString().toLowerCase())) {
if (decompilerString.equalsIgnoreCase(DecompilerType.FERNFLOWER.toString())) {
decompilerType = DecompilerType.FERNFLOWER;
} else if (decompilerString.equalsIgnoreCase(DecompilerType.JADX.toString())) {
decompilerType = DecompilerType.JADX;
Expand Down
Binary file not shown.

0 comments on commit 2fc95b7

Please sign in to comment.