Skip to content

Commit

Permalink
TEIIDDES-2674 Fixes issue with multiple file readonly warnings on delete
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrillin committed Dec 22, 2015
1 parent 846289a commit ba7597b
Showing 1 changed file with 0 additions and 9 deletions.
Expand Up @@ -18,7 +18,6 @@
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.OperationCanceledException;
import org.eclipse.core.runtime.Status;
import org.eclipse.ltk.core.refactoring.Change;
Expand All @@ -42,11 +41,6 @@ private class RelatedResourceCallback extends VdbResourceCallback {

private final Set<IResource> indexedResources = new HashSet<IResource>();

@Override
public void checkValidFile(IFile relatedFile, RefactoringStatus status) {
checkResource(relatedFile, new NullProgressMonitor(), status);
}

@Override
public void indexFile(IResource resource, IFile relatedFile, RefactoringStatus status) throws Exception {
/*
Expand Down Expand Up @@ -183,9 +177,6 @@ protected void checkResource(IResource resource, IProgressMonitor progressMonito
RefactorResourcesUtils.checkExtensionManager(resource, RefactorType.DELETE, progressMonitor, status);
if (status.getSeverity() > IStatus.WARNING) return;

RefactorResourcesUtils.checkModelResourceWritable(resource, status, readOnlyStatusLevel, readOnlyStatusMsg);
if (status.getSeverity() > IStatus.WARNING) return;

RefactorResourcesUtils.checkSavedResource(resource, status);
if (status.getSeverity() > IStatus.WARNING) return;

Expand Down

0 comments on commit ba7597b

Please sign in to comment.