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

Collapse All | Expand All

(-)META-INF/MANIFEST.MF (-1 / +1 lines)
Lines 2-8 Link Here
2
Bundle-ManifestVersion: 2
2
Bundle-ManifestVersion: 2
3
Bundle-Name: %pluginName
3
Bundle-Name: %pluginName
4
Bundle-SymbolicName: org.eclipse.ltk.core.refactoring; singleton:=true
4
Bundle-SymbolicName: org.eclipse.ltk.core.refactoring; singleton:=true
5
Bundle-Version: 3.4.2.qualifier
5
Bundle-Version: 3.4.3.qualifier
6
Bundle-Activator: org.eclipse.ltk.internal.core.refactoring.RefactoringCorePlugin
6
Bundle-Activator: org.eclipse.ltk.internal.core.refactoring.RefactoringCorePlugin
7
Bundle-ActivationPolicy: lazy
7
Bundle-ActivationPolicy: lazy
8
Bundle-Vendor: %providerName
8
Bundle-Vendor: %providerName
(-)src/org/eclipse/ltk/core/refactoring/resource/DeleteResourceChange.java (-1 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2007, 2008 IBM Corporation and others.
2
 * Copyright (c) 2007, 2011 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 106-111 Link Here
106
		try {
106
		try {
107
			IResource resource= getResource();
107
			IResource resource= getResource();
108
			if (resource == null || !resource.exists()) {
108
			if (resource == null || !resource.exists()) {
109
				if (fDeleteContent)
110
					return null; // see https://bugs.eclipse.org/343584
109
				throw new CoreException(new Status(IStatus.ERROR, RefactoringCorePlugin.getPluginId(), RefactoringCoreMessages.DeleteResourceChange_error_resource_not_exists));
111
				throw new CoreException(new Status(IStatus.ERROR, RefactoringCorePlugin.getPluginId(), RefactoringCoreMessages.DeleteResourceChange_error_resource_not_exists));
110
			}
112
			}
111
			
113
			

Return to bug 343584