|
|
|
@ -15,7 +15,6 @@ |
|
|
|
|
*/ |
|
|
|
|
package org.jetbrains.java.decompiler.struct; |
|
|
|
|
|
|
|
|
|
import org.jetbrains.java.decompiler.main.TextBuffer; |
|
|
|
|
import org.jetbrains.java.decompiler.main.extern.IResultSaver; |
|
|
|
|
import org.jetbrains.java.decompiler.struct.lazy.LazyLoader; |
|
|
|
|
import org.jetbrains.java.decompiler.struct.lazy.LazyLoader.Link; |
|
|
|
@ -111,7 +110,7 @@ public class ContextUnit { |
|
|
|
|
StructClass cl = classes.get(i); |
|
|
|
|
String entryName = decompiledData.getClassEntryName(cl, classEntries.get(i)); |
|
|
|
|
if (entryName != null) { |
|
|
|
|
TextBuffer content = decompiledData.getClassContent(cl); |
|
|
|
|
String content = decompiledData.getClassContent(cl); |
|
|
|
|
if (content != null) { |
|
|
|
|
resultSaver.saveClassFile(filename, cl.qualifiedName, entryName, content); |
|
|
|
|
} |
|
|
|
@ -143,8 +142,8 @@ public class ContextUnit { |
|
|
|
|
StructClass cl = classes.get(i); |
|
|
|
|
String entryName = decompiledData.getClassEntryName(cl, classEntries.get(i)); |
|
|
|
|
if (entryName != null) { |
|
|
|
|
TextBuffer content = decompiledData.getClassContent(cl); |
|
|
|
|
resultSaver.saveClassEntry(archivePath, filename, cl.qualifiedName, entryName, content.toString()); |
|
|
|
|
String content = decompiledData.getClassContent(cl); |
|
|
|
|
resultSaver.saveClassEntry(archivePath, filename, cl.qualifiedName, entryName, content); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|