Skip to content

Commit

Permalink
Remove substring in fallback decompiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Col-E committed Nov 24, 2024
1 parent 5c4fa52 commit a68b8c1
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,6 @@ public MethodVisitor visitMethod(int access, String name, String descriptor, Str

// Cleanup the output text.
String asmDump = baos.toString(StandardCharsets.UTF_8);
int beginIndex = asmDump.indexOf(" L0");
if (beginIndex > 0)
asmDump = asmDump.substring(beginIndex);

// Indent it just a bit with our printer and append to the string builder.
Printer codePrinter = new Printer();
Expand Down

0 comments on commit a68b8c1

Please sign in to comment.