Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 290805
Collapse All | Expand All

(-)ui/org/eclipse/jdt/internal/ui/text/correction/proposals/ChangeCorrectionProposal.java (-2 / +2 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 259-265 Link Here
259
	 * @return returns the change for this proposal.
259
	 * @return returns the change for this proposal.
260
	 * @throws CoreException thrown when the change could not be created
260
	 * @throws CoreException thrown when the change could not be created
261
	 */
261
	 */
262
	public final Change getChange() throws CoreException {
262
	public synchronized final Change getChange() throws CoreException {
263
		if (fChange == null) {
263
		if (fChange == null) {
264
			fChange= createChange();
264
			fChange= createChange();
265
		}
265
		}

Return to bug 290805