Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Zarna2010-03-08 10:23:07 +0000
committerTomasz Zarna2010-03-08 10:23:07 +0000
commit218a3bf22ceb13df60ce184ede803f425040f23f (patch)
tree1b71611a08785e55f586352654a6c65d96f27a2f /examples
parent2d74ded1bb4603cff1e8c77ae7c4845da4cf6e40 (diff)
downloadeclipse.platform.team-218a3bf22ceb13df60ce184ede803f425040f23f.tar.gz
eclipse.platform.team-218a3bf22ceb13df60ce184ede803f425040f23f.tar.xz
eclipse.platform.team-218a3bf22ceb13df60ce184ede803f425040f23f.zip
Typo/comment fix.
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.team.examples.filesystem/src/org/eclipse/team/examples/localhistory/LocalHistorySubscriber.java23
1 files changed, 21 insertions, 2 deletions
diff --git a/examples/org.eclipse.team.examples.filesystem/src/org/eclipse/team/examples/localhistory/LocalHistorySubscriber.java b/examples/org.eclipse.team.examples.filesystem/src/org/eclipse/team/examples/localhistory/LocalHistorySubscriber.java
index 39ad8abed..7833a5a79 100644
--- a/examples/org.eclipse.team.examples.filesystem/src/org/eclipse/team/examples/localhistory/LocalHistorySubscriber.java
+++ b/examples/org.eclipse.team.examples.filesystem/src/org/eclipse/team/examples/localhistory/LocalHistorySubscriber.java
@@ -10,9 +10,15 @@
*******************************************************************************/
package org.eclipse.team.examples.localhistory;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
-import org.eclipse.core.resources.*;
+import org.eclipse.core.resources.IContainer;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IFileState;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.team.core.TeamException;
@@ -33,6 +39,9 @@ public class LocalHistorySubscriber extends Subscriber {
return "Local History Subscriber"; //$NON-NLS-1$
}
+ /**
+ * @param resource the resource being tested
+ */
public boolean isSupervised(IResource resource) {
// all resources in the workspace can potentially have resource history
return true;
@@ -78,6 +87,16 @@ public class LocalHistorySubscriber extends Subscriber {
return comparator;
}
+ /**
+ * @param resources
+ * the resources to refresh
+ * @param depth
+ * the depth
+ * @param monitor
+ * progress monitor, or <code>null</code> if progress reporting
+ * and cancellation are not desired
+ */
public void refresh(IResource[] resources, int depth, IProgressMonitor monitor) {
+ // do nothing
}
}

Back to the top