### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: compiler/org/eclipse/jdt/internal/compiler/ast/BreakStatement.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/BreakStatement.java,v retrieving revision 1.13 diff -u -r1.13 BreakStatement.java --- compiler/org/eclipse/jdt/internal/compiler/ast/BreakStatement.java 7 Mar 2009 01:08:07 -0000 1.13 +++ compiler/org/eclipse/jdt/internal/compiler/ast/BreakStatement.java 10 Sep 2010 19:20:14 -0000 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. + * Copyright (c) 2000, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -82,8 +82,8 @@ } public StringBuffer printStatement(int tab, StringBuffer output) { - printIndent(tab, output).append("break "); //$NON-NLS-1$ - if (this.label != null) output.append(this.label); + printIndent(tab, output).append("break"); //$NON-NLS-1$ + if (this.label != null) output.append(' ').append(this.label); return output.append(';'); } Index: compiler/org/eclipse/jdt/internal/compiler/ast/CaseStatement.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CaseStatement.java,v retrieving revision 1.34 diff -u -r1.34 CaseStatement.java --- compiler/org/eclipse/jdt/internal/compiler/ast/CaseStatement.java 14 Oct 2009 18:13:28 -0000 1.34 +++ compiler/org/eclipse/jdt/internal/compiler/ast/CaseStatement.java 10 Sep 2010 19:20:14 -0000 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. + * Copyright (c) 2000, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -53,12 +53,12 @@ public StringBuffer printStatement(int tab, StringBuffer output) { printIndent(tab, output); if (this.constantExpression == null) { - output.append("default : "); //$NON-NLS-1$ + output.append("default :"); //$NON-NLS-1$ } else { output.append("case "); //$NON-NLS-1$ - this.constantExpression.printExpression(0, output).append(" : "); //$NON-NLS-1$ + this.constantExpression.printExpression(0, output).append(" :"); //$NON-NLS-1$ } - return output.append(';'); + return output; } /**