diff options
author | Jean Michel-Lemieux | 2003-08-19 14:11:41 +0000 |
---|---|---|
committer | Jean Michel-Lemieux | 2003-08-19 14:11:41 +0000 |
commit | 5ab9f57711a0c566b20958cc2483fab12dc295ed (patch) | |
tree | 83e5657ac895a374473065089d39b574388dded3 /bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team | |
parent | cbe98b8b3c6e3948a253d5e0dbd2cfdb4c3d96a4 (diff) | |
download | eclipse.platform.team-5ab9f57711a0c566b20958cc2483fab12dc295ed.tar.gz eclipse.platform.team-5ab9f57711a0c566b20958cc2483fab12dc295ed.tar.xz eclipse.platform.team-5ab9f57711a0c566b20958cc2483fab12dc295ed.zip |
Added deterministic locking to CVS sync info cache using the new job API.
Diffstat (limited to 'bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team')
-rw-r--r-- | bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSLightweightDecorator.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSLightweightDecorator.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSLightweightDecorator.java index e43dc7f0e..777db2ae4 100644 --- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSLightweightDecorator.java +++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSLightweightDecorator.java @@ -44,7 +44,6 @@ import org.eclipse.team.internal.ccvs.core.ICVSResource; import org.eclipse.team.internal.ccvs.core.IResourceStateChangeListener; import org.eclipse.team.internal.ccvs.core.client.Command.KSubstOption; import org.eclipse.team.internal.ccvs.core.resources.CVSWorkspaceRoot; -import org.eclipse.team.internal.ccvs.core.resources.EclipseSynchronizer; import org.eclipse.team.internal.ccvs.core.syncinfo.FolderSyncInfo; import org.eclipse.team.internal.ccvs.core.syncinfo.ResourceSyncInfo; import org.eclipse.team.internal.core.ExceptionCollector; @@ -157,11 +156,6 @@ public class CVSLightweightDecorator */ public void decorate(Object element, IDecoration decoration) { - // Make sure that the decorator thread only has read access to the CVS sync info. - // This will register the thread on each decoration but it's the only way we - // know of to ensure the proper thread is registered. - EclipseSynchronizer.getInstance().addReadOnlyThread(Thread.currentThread()); - IResource resource = getResource(element); if (resource == null || resource.getType() == IResource.ROOT) return; |