cleanup after review - use option for decompiler banner text
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -15,11 +15,9 @@
|
||||
*/
|
||||
package org.jetbrains.java.decompiler.struct;
|
||||
|
||||
import org.jetbrains.java.decompiler.main.TextBuffer;
|
||||
|
||||
public interface IDecompiledData {
|
||||
|
||||
String getClassEntryName(StructClass cl, String entryname);
|
||||
|
||||
TextBuffer getClassContent(StructClass cl);
|
||||
String getClassContent(StructClass cl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user