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();
|
JsBlock finallyBlock = x.getFinallyBlock();
|
||||||
if (finallyBlock != null) {
|
if (finallyBlock != null) {
|
||||||
spaceOpt();
|
p.print(CHARS_FINALLY);
|
||||||
_finally();
|
|
||||||
spaceOpt();
|
spaceOpt();
|
||||||
accept(finallyBlock);
|
accept(finallyBlock);
|
||||||
}
|
}
|
||||||
@@ -1125,10 +1124,6 @@ public class JsToStringGenerationVisitor extends JsVisitor {
|
|||||||
p.print(CHARS_FALSE);
|
p.print(CHARS_FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void _finally() {
|
|
||||||
p.print(CHARS_FINALLY);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void _for() {
|
private void _for() {
|
||||||
p.print(CHARS_FOR);
|
p.print(CHARS_FOR);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user