Skip to content

Commit

Permalink
Fix FernFlower "Rename ambiguous classes and class elements".
Browse files Browse the repository at this point in the history
  • Loading branch information
Bl3nd committed Nov 3, 2022
1 parent 77521a2 commit e4e511b
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,12 @@ public String decompileClassNode(final ClassNode cn, byte[] b)

tempClass.delete();

final File outputJava = new File(start + ".java");
String javaDir = start;
if (BytecodeViewer.viewer.ren.isSelected()) {
javaDir = tempDirectory + "class_0";
}

final File outputJava = new File(javaDir + ".java");
if (outputJava.exists()) {
String s;
try {
Expand Down

0 comments on commit e4e511b

Please sign in to comment.