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/core/synchronize/FastSyncInfoFilter.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/core/synchronize/FastSyncInfoFilter.java')
-rw-r--r--bundles/org.eclipse.team.core/src/org/eclipse/team/core/synchronize/FastSyncInfoFilter.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/synchronize/FastSyncInfoFilter.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/synchronize/FastSyncInfoFilter.java
index 188753963..a74dbc946 100644
--- a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/synchronize/FastSyncInfoFilter.java
+++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/synchronize/FastSyncInfoFilter.java
@@ -16,7 +16,7 @@ import org.eclipse.core.runtime.IProgressMonitor;
* A specialized <code>SyncInfoFilter</code> that does not require a progress monitor.
* This enables these filters to be used when determining menu enablement or other
* operations that must be short running.
- *
+ *
* @see SyncInfo
* @see SyncInfoSet
* @see SyncInfoFilter
@@ -26,7 +26,7 @@ public class FastSyncInfoFilter extends SyncInfoFilter {
/**
* Selects <code>SyncInfo</code> that match the given change type and direction.
- *
+ *
* @param direction the change direction (<code>SyncInfo.OUTGOING</code>,
* <code>SyncInfo.INCOMING</code> and <code>SyncInfo.CONFLICTING</code>) that this filter matches
* @param change the change type (<code>SyncInfo.ADDITION</code>,
@@ -41,7 +41,7 @@ public class FastSyncInfoFilter extends SyncInfoFilter {
/**
* An abstract class which contains a set of <code>FastSyncInfoFilter</code> instances.
* Subclasses must provide the <code>select(SyncInfo)</code> method for determining
- * matches.
+ * matches.
*/
public static abstract class CompoundSyncInfoFilter extends FastSyncInfoFilter {
/**
@@ -56,7 +56,7 @@ public class FastSyncInfoFilter extends SyncInfoFilter {
this.filters = filters;
}
}
-
+
/**
* Selects <code>SyncInfo</code> which match all child filters.
*/
@@ -105,7 +105,7 @@ public class FastSyncInfoFilter extends SyncInfoFilter {
return info.getKind() != 0 && (info.getKind() & SyncInfo.PSEUDO_CONFLICT) == 0;
}
}
-
+
/**
* Selects <code>SyncInfo</code> that match any of the child filters.
*/
@@ -130,9 +130,9 @@ public class FastSyncInfoFilter extends SyncInfoFilter {
return false;
}
}
-
+
/**
- * Selects <code>SyncInfo</code> whose change type match those of the filter.
+ * Selects <code>SyncInfo</code> whose change type match those of the filter.
*/
public static class SyncInfoChangeTypeFilter extends FastSyncInfoFilter {
private int[] changeFilters = new int[]{SyncInfo.ADDITION, SyncInfo.DELETION, SyncInfo.CHANGE};
@@ -169,8 +169,8 @@ public class FastSyncInfoFilter extends SyncInfoFilter {
}
/**
- * Selects <code>SyncInfo</code> whose change direction match those of the filter.
- */
+ * Selects <code>SyncInfo</code> whose change direction match those of the filter.
+ */
public static class SyncInfoDirectionFilter extends FastSyncInfoFilter {
int[] directionFilters = new int[] {SyncInfo.OUTGOING, SyncInfo.INCOMING, SyncInfo.CONFLICTING};
/**
@@ -208,14 +208,14 @@ public class FastSyncInfoFilter extends SyncInfoFilter {
/**
* Return whether the provided <code>SyncInfo</code> matches the filter. The default
* behavior it to include resources whose syncKind is non-zero.
- *
+ *
* @param info the <code>SyncInfo</code> being tested
* @return <code>true</code> if the <code>SyncInfo</code> matches the filter
*/
public boolean select(SyncInfo info) {
return info.getKind() != 0;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.team.core.subscribers.SyncInfoFilter#select(org.eclipse.team.core.subscribers.SyncInfo, org.eclipse.core.runtime.IProgressMonitor)
*/

Back to the top