Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2003-10-03 14:00:40 +0000
committerMichael Valenta2003-10-03 14:00:40 +0000
commit7ba78fd17d46496ceb45fbdb21acb3f0a86ff040 (patch)
treed923da4d47e370c80202144fab420cde0962ba5d
parent91607123f236390d7435d763fad74c3111d01128 (diff)
downloadeclipse.platform.team-7ba78fd17d46496ceb45fbdb21acb3f0a86ff040.tar.gz
eclipse.platform.team-7ba78fd17d46496ceb45fbdb21acb3f0a86ff040.tar.xz
eclipse.platform.team-7ba78fd17d46496ceb45fbdb21acb3f0a86ff040.zip
Removed unnecessary casts
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/sets/SubscriberInput.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/sets/SubscriberInput.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/sets/SubscriberInput.java
index e31dfbeb8..0a4813c73 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/sets/SubscriberInput.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/sets/SubscriberInput.java
@@ -157,12 +157,12 @@ public class SubscriberInput implements IPropertyChangeListener, ITeamResourceCh
try {
// Handle a deleted project
if (((kind & IResourceDelta.REMOVED) != 0)
- || !getSubscriber().isSupervised((IProject) resource)) {
- eventHandler.remove((IProject) resource);
+ || !getSubscriber().isSupervised(resource)) {
+ eventHandler.remove(resource);
return;
}
// Only interested in projects mapped to the provider
- if (!getSubscriber().isSupervised((IProject) resource)) {
+ if (!getSubscriber().isSupervised(resource)) {
return;
}
} catch (TeamException e) {

Back to the top