Merge pull request #456 from Bl3nd/master

Fix FernFlower "Rename ambiguous classes and class elements".
This commit is contained in:
Konloch 2022-11-03 07:16:34 -07:00 committed by GitHub
commit c8e9ac9e7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -118,7 +118,12 @@ public class FernFlowerDecompiler extends InternalDecompiler
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 {