Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjames2002-04-04 10:54:35 -0500
committerjames2002-04-04 10:54:35 -0500
commit9a39f726baab8ee53d4f46641bc37866d3a7a467 (patch)
tree50a44888710da7fe28cb2bff5acf8655951fc28a
parent990753b558457b31c01baa2c4a297cac3555f6dc (diff)
downloadeclipse.platform.team-9a39f726baab8ee53d4f46641bc37866d3a7a467.tar.gz
eclipse.platform.team-9a39f726baab8ee53d4f46641bc37866d3a7a467.tar.xz
eclipse.platform.team-9a39f726baab8ee53d4f46641bc37866d3a7a467.zip
Fix typo
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSStatus.java2
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/RemoteFolder.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSStatus.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSStatus.java
index aa8c48b4d..e603aa42f 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSStatus.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSStatus.java
@@ -21,7 +21,7 @@ public class CVSStatus extends Status {
public static final int ERROR_LINE = -14; // generic uninterpreted E line from the server
public static final int TAG_ALREADY_EXISTS = -15;
public static final int DELETION_FAILED = -16;
- public static final int DOES_NOT_EXISTS = -17;
+ public static final int DOES_NOT_EXIST = -17;
// Path for resource related status
private IPath path;
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/RemoteFolder.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/RemoteFolder.java
index 84242245c..386e92e2c 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/RemoteFolder.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/RemoteFolder.java
@@ -139,7 +139,7 @@ public class RemoteFolder extends RemoteResource implements ICVSRemoteFolder, IC
members(monitor);
return true;
} catch (CVSException e) {
- if (e.getStatus().getCode() == CVSStatus.DOES_NOT_EXISTS) {
+ if (e.getStatus().getCode() == CVSStatus.DOES_NOT_EXIST) {
return false;
} else {
throw e;
@@ -296,7 +296,7 @@ public class RemoteFolder extends RemoteResource implements ICVSRemoteFolder, IC
throw new OperationCanceledException();
}
if (! exists[0]) {
- throw new CVSException(new CVSStatus(CVSStatus.ERROR, CVSStatus.DOES_NOT_EXISTS, Policy.bind("RemoteFolder.doesNotExist", getRepositoryRelativePath())));
+ throw new CVSException(new CVSStatus(CVSStatus.ERROR, CVSStatus.DOES_NOT_EXIST, Policy.bind("RemoteFolder.doesNotExist", getRepositoryRelativePath())));
}
// Convert the file and folder names to IManagedResources

Back to the top