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

Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedAllocationExpression.java (-1 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2009 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 104-109 Link Here
104
	}
104
	}
105
105
106
	public void generateCode(BlockScope currentScope, CodeStream codeStream, boolean valueRequired) {
106
	public void generateCode(BlockScope currentScope, CodeStream codeStream, boolean valueRequired) {
107
		if (!valueRequired)
108
			currentScope.problemReporter().unusedObjectAllocation(this);
107
		int pc = codeStream.position;
109
		int pc = codeStream.position;
108
		MethodBinding codegenBinding = this.binding.original();
110
		MethodBinding codegenBinding = this.binding.original();
109
		ReferenceBinding allocatedType = codegenBinding.declaringClass;
111
		ReferenceBinding allocatedType = codegenBinding.declaringClass;

Return to bug 236385