Skip to content

Commit 232e50c

Browse files
committed
refactor: remove unused context typeMaker
1 parent 744e1b3 commit 232e50c

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/main/java/org/jd/core/v1/model/message/DecompileContext.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ public class DecompileContext {
2929
protected Loader loader;
3030
protected Printer printer;
3131

32-
protected TypeMaker typeMaker;
3332
protected int majorVersion;
3433
protected int minorVersion;
3534
protected int maxLineNumber = Printer.UNKNOWN_LINE_NUMBER;

src/main/java/org/jd/core/v1/service/converter/classfiletojavasyntax/ClassFileToJavaSyntaxProcessor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ public CompilationUnit process(DecompileContext decompileContext) throws Excepti
5050
}
5151

5252
}
53-
decompileContext.setTypeMaker(typeMaker);
5453

5554
CompilationUnit compilationUnit = CONVERT_CLASS_FILE_PROCESSOR.process(decompileContext.getClassFile(), typeMaker, decompileContext);
5655
decompileContext.setCompilationUnit(compilationUnit);

src/test/java/org/jd/core/v1/ControlFlowGraphTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2668,7 +2668,6 @@ protected Method searchMethod(Loader loader, TypeMaker typeMaker, String interna
26682668
DecompileContext decompileContext = new DecompileContext();
26692669
decompileContext.setMainInternalTypeName(internalTypeName);
26702670
decompileContext.setLoader(loader);
2671-
decompileContext.setTypeMaker(typeMaker);
26722671

26732672
ClassFile classFile = deserializer.loadClassFile(loader, internalTypeName);
26742673
decompileContext.setClassFile(classFile);

0 commit comments

Comments
 (0)