diff options
| author | Noopur Gupta | 2019-04-30 11:33:20 +0000 |
|---|---|---|
| committer | Noopur Gupta | 2019-05-21 09:07:50 +0000 |
| commit | c1cfebf43406d49fef220b08a54125c0158f83bc (patch) | |
| tree | 59dc261d8dc6ed2d52e4e5c91ddaa5794c98f07d | |
| parent | 30bf46684b5aaefea08f8b2bf98e2b43ff3c5af9 (diff) | |
| download | eclipse.jdt.ui-c1cfebf43406d49fef220b08a54125c0158f83bc.tar.gz eclipse.jdt.ui-c1cfebf43406d49fef220b08a54125c0158f83bc.tar.xz eclipse.jdt.ui-c1cfebf43406d49fef220b08a54125c0158f83bc.zip | |
Change-Id: I8bc5bedcc03653c313906e713f1713585bbea4b1
| -rw-r--r-- | org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java b/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java index d4149fb40d..9b9ba4afa5 100644 --- a/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java +++ b/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/dom/ASTFlattener.java @@ -1545,14 +1545,14 @@ public class ASTFlattener extends GenericVisitor { if (node.getAST().apiLevel() >= JLS12) { if (node.isDefault()) { this.fBuffer.append("default");//$NON-NLS-1$ - this.fBuffer.append(node.isSwitchLabeledRule() ? "->" : ":");//$NON-NLS-1$ //$NON-NLS-2$ + this.fBuffer.append(node.isSwitchLabeledRule() ? " ->" : ":");//$NON-NLS-1$ //$NON-NLS-2$ } else { this.fBuffer.append("case ");//$NON-NLS-1$ for (Iterator<Expression> it= node.expressions().iterator(); it.hasNext();) { Expression t= it.next(); t.accept(this); this.fBuffer.append(it.hasNext() ? ", " : //$NON-NLS-1$ - node.isSwitchLabeledRule() ? "->" : ":");//$NON-NLS-1$ //$NON-NLS-2$ + node.isSwitchLabeledRule() ? " ->" : ":");//$NON-NLS-1$ //$NON-NLS-2$ } } } else { |
