Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Michel-Lemieux2002-05-17 17:15:51 -0400
committerJean Michel-Lemieux2002-05-17 17:15:51 -0400
commit8d0387af050b642da242dcfb4d524dfd73850898 (patch)
tree3300246e6dd1db6cbd9fc42cab787c375a453263
parente0dd898e17ba2a8fb3c27446fc8db814e66f07cc (diff)
downloadeclipse.platform.team-8d0387af050b642da242dcfb4d524dfd73850898.tar.gz
eclipse.platform.team-8d0387af050b642da242dcfb4d524dfd73850898.tar.xz
eclipse.platform.team-8d0387af050b642da242dcfb4d524dfd73850898.zip
Made compare methods protected - they are of interest to subclasses
-rw-r--r--bundles/org.eclipse.team.core/src/org/eclipse/team/core/sync/RemoteSyncElement.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/sync/RemoteSyncElement.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/sync/RemoteSyncElement.java
index 9e769e1da..2acab24cc 100644
--- a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/sync/RemoteSyncElement.java
+++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/sync/RemoteSyncElement.java
@@ -252,7 +252,7 @@ public abstract class RemoteSyncElement extends LocalSyncElement implements IRem
* If timestampDiff is true then the timestamps don't differ and there's no point checking the
* contents.
*/
- private boolean compare(int granularity, boolean force, IResource e1, IRemoteResource e2, IProgressMonitor monitor) {
+ protected boolean compare(int granularity, boolean force, IResource e1, IRemoteResource e2, IProgressMonitor monitor) {
boolean timestampEquals;
if (force) {
timestampEquals = false;
@@ -271,7 +271,7 @@ public abstract class RemoteSyncElement extends LocalSyncElement implements IRem
}
}
- private boolean compare(int granularity, boolean force, IRemoteResource e1, IRemoteResource e2, IProgressMonitor monitor) {
+ protected boolean compare(int granularity, boolean force, IRemoteResource e1, IRemoteResource e2, IProgressMonitor monitor) {
boolean timestampEquals;
if (force) {
timestampEquals = false;

Back to the top