Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2020-01-14 15:24:21 +0000
committerAlexander Kurtakov2020-01-14 15:24:21 +0000
commitd691ed29625ca71a90e4193531c24a68c5def402 (patch)
tree72adb28d7d76cf2e550086b9b46e1c4f108f2941
parent0f9382e1b9cd3e8e52e3f28d58c6d456e477b6df (diff)
downloadeclipse.platform.team-d691ed29625ca71a90e4193531c24a68c5def402.tar.gz
eclipse.platform.team-d691ed29625ca71a90e4193531c24a68c5def402.tar.xz
eclipse.platform.team-d691ed29625ca71a90e4193531c24a68c5def402.zip
Move away of deprecated Platform.find.
Change-Id: I07c2b1fde48daf5fa3ec366f821ba7e523470d4f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CVSOperation.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CVSOperation.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CVSOperation.java
index 335262329..ee007897d 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CVSOperation.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CVSOperation.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2010 IBM Corporation and others.
+ * Copyright (c) 2000, 2020 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -63,7 +63,8 @@ public abstract class CVSOperation extends TeamOperation implements IShellProvid
@Override
protected URL getOperationIcon() {
- return Platform.find(CVSUIPlugin.getPlugin().getBundle(), new Path(ICVSUIConstants.ICON_PATH + ICVSUIConstants.IMG_CVS_PERSPECTIVE));
+ return FileLocator.find(CVSUIPlugin.getPlugin().getBundle(),
+ new Path(ICVSUIConstants.ICON_PATH + ICVSUIConstants.IMG_CVS_PERSPECTIVE));
}
@Override

Back to the top