Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2002-04-11 19:41:50 +0000
committerMichael Valenta2002-04-11 19:41:50 +0000
commit2a01a37d2ccb8a29968aa9165e99cbcc0b00f179 (patch)
tree23578983ff0894a82cdd807a6024c08f468df01a /bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Session.java
parenteea3d02862c8940f3330a51a3f9a1311de0072c1 (diff)
downloadeclipse.platform.team-2a01a37d2ccb8a29968aa9165e99cbcc0b00f179.tar.gz
eclipse.platform.team-2a01a37d2ccb8a29968aa9165e99cbcc0b00f179.tar.xz
eclipse.platform.team-2a01a37d2ccb8a29968aa9165e99cbcc0b00f179.zip
NLS updates
Diffstat (limited to 'bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Session.java')
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Session.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Session.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Session.java
index a9b692400..18cba12ec 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Session.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Session.java
@@ -163,14 +163,14 @@ public class Session {
// enable compression
compressionLevel = CVSProviderPlugin.getPlugin().getCompressionLevel();
- if (compressionLevel != 0 && isValidRequest("gzip-file-contents")) {
+ if (compressionLevel != 0 && isValidRequest("gzip-file-contents")) { //$NON-NLS-1$
// Enable the use of CVS 1.8 per-file compression mechanism.
// The newer Gzip-stream request seems to be problematic due to Java's
// GZIPInputStream tendency to block on read() rather than to return a
// partially filled buffer. The latter option would be better since it
// can make more effective use of the code dictionary, if it can be made
// to work...
- connection.writeLine("gzip-file-contents " + Integer.toString(compressionLevel));
+ connection.writeLine("gzip-file-contents " + Integer.toString(compressionLevel)); //$NON-NLS-1$
} else {
compressionLevel = 0;
}
@@ -592,7 +592,7 @@ public class Session {
};
// send the file
String sizeLine = Long.toString(size);
- if (compressed) sizeLine = "z" + sizeLine;
+ if (compressed) sizeLine = "z" + sizeLine; //$NON-NLS-1$
writeLine(sizeLine);
for (int count; (count = in.read(buffer)) != -1;) out.write(buffer, 0, count);
} finally {

Back to the top