incorrect line separator trimming fixed

master
Roman Shevchenko 11 years ago
parent 634b1faa5b
commit c23845ae4a
  1. 2
      src/de/fernflower/modules/decompiler/stats/CatchAllStatement.java

@ -129,7 +129,7 @@ public class CatchAllStatement extends Statement {
if(first.type == TYPE_TRYCATCH && first.varDefinitions.isEmpty() && isFinally &&
!labeled && !first.isLabeled() && (lstSuccs.isEmpty() || !lstSuccs.get(0).explicit)) {
String content = ExprProcessor.jmpWrapper(first, indent, true);
content = content.substring(0, content.length()-2);
content = content.substring(0, content.length()-new_line_separator.length());
buf.append(content);
} else {

Loading…
Cancel
Save