diff options
author | Jean Michel-Lemieux | 2004-02-25 20:34:58 +0000 |
---|---|---|
committer | Jean Michel-Lemieux | 2004-02-25 20:34:58 +0000 |
commit | 4a1ca77df6f4238416a8715a8c35819611d5992a (patch) | |
tree | 03e4ed09e94442352cb8c3143df59d3b22725627 /bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/FileModificationManager.java | |
parent | a650f9521c18cb3c840475358086bf5f4052a824 (diff) | |
download | eclipse.platform.team-4a1ca77df6f4238416a8715a8c35819611d5992a.tar.gz eclipse.platform.team-4a1ca77df6f4238416a8715a8c35819611d5992a.tar.xz eclipse.platform.team-4a1ca77df6f4238416a8715a8c35819611d5992a.zip |
SyncView API released to HEAD.
Diffstat (limited to 'bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/FileModificationManager.java')
-rw-r--r-- | bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/FileModificationManager.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/FileModificationManager.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/FileModificationManager.java index 3b25d5e1a..5069467e7 100644 --- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/FileModificationManager.java +++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/FileModificationManager.java @@ -63,7 +63,7 @@ public class FileModificationManager implements IResourceChangeListener, ISavePa public void resourceChanged(IResourceChangeEvent event) { try { event.getDelta().accept(new IResourceDeltaVisitor() { - public boolean visit(IResourceDelta delta) throws CoreException { + public boolean visit(IResourceDelta delta) { IResource resource = delta.getResource(); if (resource.getType()==IResource.PROJECT) { @@ -162,10 +162,8 @@ public class FileModificationManager implements IResourceChangeListener, ISavePa IFile file = (IFile)mFile.getIResource(); file.setSessionProperty(UPDATE_TIMESTAMP, new Long(file.getModificationStamp())); } - } catch (CVSException e) { - CVSProviderPlugin.log(e); } catch (CoreException e) { - CVSProviderPlugin.log(CVSException.wrapException(e)); + CVSProviderPlugin.log(e); } } @@ -173,7 +171,7 @@ public class FileModificationManager implements IResourceChangeListener, ISavePa * Handle added and changed resources by signaling the change to the corresponding * CVS resource and recording the change for broadcast to interested listeners. */ - /* private */void resourceChanged(IResource resource, boolean addition) throws CoreException { + /* private */void resourceChanged(IResource resource, boolean addition) { if (isCleanUpdate(resource)) return; try { EclipseResource cvsResource = (EclipseResource)CVSWorkspaceRoot.getCVSResourceFor(resource); @@ -182,7 +180,8 @@ public class FileModificationManager implements IResourceChangeListener, ISavePa modifiedResources.add(resource); } } catch (CVSException e) { - throw e.toCoreException(); + // Log the exception and continue + CVSProviderPlugin.log(e); } } |