Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2002-03-19 11:10:32 -0500
committerMichael Valenta2002-03-19 11:10:32 -0500
commit8cddfe185a609e071cb86189decddc33fdd7f2e2 (patch)
treead4c83f8e9c64701a277271d4f7d45e0c7ab40f9
parentf18b1799dca115e11c67a5a8f0f3e2955c9af7c8 (diff)
downloadeclipse.platform.team-8cddfe185a609e071cb86189decddc33fdd7f2e2.tar.gz
eclipse.platform.team-8cddfe185a609e071cb86189decddc33fdd7f2e2.tar.xz
eclipse.platform.team-8cddfe185a609e071cb86189decddc33fdd7f2e2.zip
Fixed compare bug which look at contents of all files
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSCompareEditorInput.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSCompareEditorInput.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSCompareEditorInput.java
index 01529f8c0..441392c76 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSCompareEditorInput.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSCompareEditorInput.java
@@ -51,9 +51,6 @@ public class CVSCompareEditorInput extends CompareEditorInput {
private static final int NODE_NOT_EQUAL = 1;
private static final int NODE_UNKNOWN = 2;
- // provider for the project being compared
- CVSTeamProvider cvsProvider = null;
-
class ResourceDiffNode extends DiffNode {
public ResourceDiffNode(IDiffContainer parent, int kind, ITypedElement ancestor, ITypedElement left, ITypedElement right) {
super(parent, kind, ancestor, left, right);
@@ -346,9 +343,6 @@ public class CVSCompareEditorInput extends CompareEditorInput {
if (resource.getType() == IResource.FILE) {
if (((ICVSFile) element).isDirty()) return NODE_NOT_EQUAL;
}
- if(cvsProvider==null) {
- return NODE_UNKNOWN;
- }
leftEdition = CVSWorkspaceRoot.getRemoteResourceFor(resource);
} catch(CVSException e) {
return NODE_UNKNOWN;

Back to the top