Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/Connection.java')
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/Connection.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/Connection.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/Connection.java
index c298a78b2..230eaf0a7 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/Connection.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/Connection.java
@@ -173,7 +173,7 @@ public class Connection {
String result = new String(buffer, 0, index, getEncoding(location));
if (Policy.isDebugProtocol())
- Policy.printProtocolLine(result);
+ Policy.printProtocolLine(result);
return result;
}
@@ -183,7 +183,7 @@ public class Connection {
* Sends the given string to the server.
*/
public void write(String s) throws CVSException {
- try {
+ try {
write(s.getBytes(fServerEncoding), false);
} catch (UnsupportedEncodingException e) {
IStatus status = new CVSStatus(IStatus.ERROR, CVSStatus.SERVER_ERROR, e.getMessage(), e, fCVSRoot);
@@ -224,7 +224,7 @@ public class Connection {
throw new CVSCommunicationException(CVSMessages.Connection_writeUnestablishedConnection,fCVSRoot,null);
if (Policy.isDebugProtocol())
- Policy.printProtocol(new String(b, off, len), newline);
+ Policy.printProtocol(new String(b, off, len), newline);
try {
OutputStream out= getOutputStream();

Back to the top