mirror of
https://github.com/moparisthebest/fernflower
synced 2025-02-21 05:01:44 -05:00
incorrect line separator trimming fixed
This commit is contained in:
parent
634b1faa5b
commit
c23845ae4a
@ -129,7 +129,7 @@ public class CatchAllStatement extends Statement {
|
|||||||
if(first.type == TYPE_TRYCATCH && first.varDefinitions.isEmpty() && isFinally &&
|
if(first.type == TYPE_TRYCATCH && first.varDefinitions.isEmpty() && isFinally &&
|
||||||
!labeled && !first.isLabeled() && (lstSuccs.isEmpty() || !lstSuccs.get(0).explicit)) {
|
!labeled && !first.isLabeled() && (lstSuccs.isEmpty() || !lstSuccs.get(0).explicit)) {
|
||||||
String content = ExprProcessor.jmpWrapper(first, indent, true);
|
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);
|
buf.append(content);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user