View | Details | Raw Unified | Return to bug 101247 | Differences between
and this patch

Collapse All | Expand All

(-)formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java (-1 / +6 lines)
Lines 3813-3819 Link Here
3813
		if (this.preferences.insert_space_after_colon_in_labeled_statement) {
3813
		if (this.preferences.insert_space_after_colon_in_labeled_statement) {
3814
			this.scribe.space();
3814
			this.scribe.space();
3815
		}
3815
		}
3816
		labeledStatement.statement.traverse(this, scope);
3816
		final Statement statement = labeledStatement.statement;
3817
		statement.traverse(this, scope);
3818
		if (statement instanceof Expression) {
3819
			this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
3820
			this.scribe.printTrailingComment();
3821
		}
3817
		return false;
3822
		return false;
3818
	}
3823
	}
3819
3824

Return to bug 101247