diff options
author | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-05-20 22:41:10 +0400 |
---|---|---|
committer | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-05-20 22:41:10 +0400 |
commit | c23845ae4ac961abb3948cb67a3cc648bd360345 (patch) | |
tree | 04e95ed3e80ab37b000d3587e3f96145d5d1c074 /src | |
parent | 634b1faa5bdd1d333789c3557f5bf4a84071f791 (diff) | |
download | fernflower-c23845ae4ac961abb3948cb67a3cc648bd360345.tar fernflower-c23845ae4ac961abb3948cb67a3cc648bd360345.tar.gz fernflower-c23845ae4ac961abb3948cb67a3cc648bd360345.tar.lz fernflower-c23845ae4ac961abb3948cb67a3cc648bd360345.tar.xz fernflower-c23845ae4ac961abb3948cb67a3cc648bd360345.zip |
incorrect line separator trimming fixed
Diffstat (limited to 'src')
-rw-r--r-- | src/de/fernflower/modules/decompiler/stats/CatchAllStatement.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/fernflower/modules/decompiler/stats/CatchAllStatement.java b/src/de/fernflower/modules/decompiler/stats/CatchAllStatement.java index 505e8f8..862f017 100644 --- a/src/de/fernflower/modules/decompiler/stats/CatchAllStatement.java +++ b/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 { |