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

View file

@ -118,7 +118,12 @@ public class FernFlowerDecompiler extends InternalDecompiler
tempClass.delete(); 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()) { if (outputJava.exists()) {
String s; String s;
try { try {