Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2016-10-29 09:28:11 +0000
committerAndrey Loskutov2016-11-04 17:41:16 +0000
commit8ccd7fa0fae6e89d9a4d5df1c7165ba0112d4d59 (patch)
tree74e5ba25cbdd276ea14dc7aee6eb324c9619e0c2 /bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/subscribers/CheckedInChangeSet.java
parente1aab99c603e589eea162124fbb67f0b26f71e69 (diff)
downloadeclipse.platform.team-8ccd7fa0fae6e89d9a4d5df1c7165ba0112d4d59.tar.gz
eclipse.platform.team-8ccd7fa0fae6e89d9a4d5df1c7165ba0112d4d59.tar.xz
eclipse.platform.team-8ccd7fa0fae6e89d9a4d5df1c7165ba0112d4d59.zip
Bug 506732 - cleanup trailing spaces in team.core and team.ui
Change-Id: I6a92f3b0af9cd07df54bc2e37a8455a52eaf490c Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Diffstat (limited to 'bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/subscribers/CheckedInChangeSet.java')
-rw-r--r--bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/subscribers/CheckedInChangeSet.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/subscribers/CheckedInChangeSet.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/subscribers/CheckedInChangeSet.java
index 514d041f6..473238e35 100644
--- a/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/subscribers/CheckedInChangeSet.java
+++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/subscribers/CheckedInChangeSet.java
@@ -19,7 +19,7 @@ import org.eclipse.team.core.synchronize.SyncInfoTree;
/**
* A checked-in change set represents a group of resource
* changes that were previously checked into a repository
- * as a single logical change.
+ * as a single logical change.
* <p>
* A previously checked-in set of changes may not apply directly
* to the local versions of the resources involved. However,
@@ -29,13 +29,13 @@ import org.eclipse.team.core.synchronize.SyncInfoTree;
* @since 3.1
*/
public abstract class CheckedInChangeSet extends ChangeSet {
-
+
private final SyncInfoTree set = new SyncInfoTree();
-
+
public abstract String getAuthor();
-
+
public abstract Date getDate();
-
+
/**
* Return the SyncInfoSet that contains the resources that belong to this change set.
* @return the SyncInfoSet that contains the resources that belong to this change set
@@ -51,7 +51,7 @@ public abstract class CheckedInChangeSet extends ChangeSet {
public IResource[] getResources() {
return set.getResources();
}
-
+
/**
* Return whether the set contains any files.
* @return whether the set contains any files
@@ -68,7 +68,7 @@ public abstract class CheckedInChangeSet extends ChangeSet {
public boolean contains(IResource local) {
return set.getSyncInfo(local) != null;
}
-
+
/**
* Add the resource to this set if it is modified
* w.r.t. the subscriber.
@@ -79,7 +79,7 @@ public abstract class CheckedInChangeSet extends ChangeSet {
set.add(info);
}
}
-
+
/**
* Return whether the given sync info is a valid change
* and can be included in this set. This method is used
@@ -107,7 +107,7 @@ public abstract class CheckedInChangeSet extends ChangeSet {
set.endInput(null);
}
}
-
+
/**
* Remove the resource from the set.
* @param resource the resource to be removed
@@ -117,7 +117,7 @@ public abstract class CheckedInChangeSet extends ChangeSet {
set.remove(resource);
}
}
-
+
/**
* Remove the resources from the set.
* @param resources the resources to be removed
@@ -128,7 +128,7 @@ public abstract class CheckedInChangeSet extends ChangeSet {
remove(resource);
}
}
-
+
/**
* Remove the resource and it's descendants to the given depth.
* @param resource the resource to be removed
@@ -145,7 +145,7 @@ public abstract class CheckedInChangeSet extends ChangeSet {
set.removeAll(resources);
}
}
-
+
public boolean containsChildren(IResource resource, int depth) {
return set.getSyncInfos(resource, depth).length > 0;
}

Back to the top