Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Zarna2011-11-02 14:23:47 +0000
committerTomasz Zarna2011-11-02 15:14:42 +0000
commit706840e080e4d3af321fb42e7a29ae466db00db4 (patch)
treecdb38b6b663885b73a77588bbeeeef98daee7085
parentafc0ca1dd6d491dcf8c0ab22e807f7ecd52e3f6b (diff)
downloadeclipse.platform.team-706840e080e4d3af321fb42e7a29ae466db00db4.tar.gz
eclipse.platform.team-706840e080e4d3af321fb42e7a29ae466db00db4.tar.xz
eclipse.platform.team-706840e080e4d3af321fb42e7a29ae466db00db4.zip
Use SafeRunner#run
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/KnownRepositories.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/KnownRepositories.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/KnownRepositories.java
index a47239173..4eb8d0540 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/KnownRepositories.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/util/KnownRepositories.java
@@ -46,7 +46,7 @@ public class KnownRepositories implements INodeChangeListener, IPreferenceChange
}
/*
- * Private class used to safely notify listeners of resouce sync info changes.
+ * Private class used to safely notify listeners of resource sync info changes.
* Subclass override the notify(IResourceStateChangeListener) method to
* fire specific events inside an ISafeRunnable.
*/
@@ -57,13 +57,13 @@ public class KnownRepositories implements INodeChangeListener, IPreferenceChange
}
public void run(ICVSListener listener) {
this.listener = listener;
- Platform.run(this);
+ SafeRunner.run(this);
}
public void run() throws Exception {
notify(listener);
}
/**
- * Subsclasses overide this method to send an event safely to a lsistener
+ * Subclasses override this method to send an event safely to a listener
* @param listener
*/
protected abstract void notify(ICVSListener listener);
@@ -185,7 +185,7 @@ public class KnownRepositories implements INodeChangeListener, IPreferenceChange
}
/*
- * Cache the location and store it in the preferences for persistance
+ * Cache the location and store it in the preferences for persistence
*/
private void store(CVSRepositoryLocation location) {
// Cache the location instance for later retrieval

Back to the top