don't print extra space before finally
This commit is contained in:
@@ -858,8 +858,7 @@ public class JsToStringGenerationVisitor extends JsVisitor {
|
||||
|
||||
JsBlock finallyBlock = x.getFinallyBlock();
|
||||
if (finallyBlock != null) {
|
||||
spaceOpt();
|
||||
_finally();
|
||||
p.print(CHARS_FINALLY);
|
||||
spaceOpt();
|
||||
accept(finallyBlock);
|
||||
}
|
||||
@@ -1125,10 +1124,6 @@ public class JsToStringGenerationVisitor extends JsVisitor {
|
||||
p.print(CHARS_FALSE);
|
||||
}
|
||||
|
||||
private void _finally() {
|
||||
p.print(CHARS_FINALLY);
|
||||
}
|
||||
|
||||
private void _for() {
|
||||
p.print(CHARS_FOR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user