View | Details | Raw Unified | Return to bug 52805
Collapse All | Expand All

(-)EmptyStatement.java (+3 lines)
Lines 49-55 Link Here
49
	public void resolve(BlockScope scope) {
49
	public void resolve(BlockScope scope) {
50
		if ((bits & IsUsefulEmptyStatementMASK) == 0) {
50
		if ((bits & IsUsefulEmptyStatementMASK) == 0) {
51
			scope.problemReporter().superfluousSemicolon(this.sourceStart, this.sourceEnd);
51
			scope.problemReporter().superfluousSemicolon(this.sourceStart, this.sourceEnd);
52
		} else if ((bits & UndocumentedEmptyBlockMASK) == 0) {
53
			scope.problemReporter().undocumentedEmptyBlock(this.sourceStart, this.sourceEnd);
52
		}
54
		}
55
53
	}
56
	}
54
57
55
	public void traverse(ASTVisitor visitor, BlockScope scope) {
58
	public void traverse(ASTVisitor visitor, BlockScope scope) {

Return to bug 52805