Author: jflesch
Date: 2007-01-02 18:54:35 +0000 (Tue, 02 Jan 2007)
New Revision: 11542
Modified:
trunk/apps/Thaw/src/thaw/fcp/FCPConnection.java
Log:
Remove useless \n in the log messages from FCPConnection
Modified: trunk/apps/Thaw/src/thaw/fcp/FCPConnection.java
===================================================================
--- trunk/apps/Thaw/src/thaw/fcp/FCPConnection.java 2007-01-02 15:55:59 UTC
(rev 11541)
+++ trunk/apps/Thaw/src/thaw/fcp/FCPConnection.java 2007-01-02 18:54:35 UTC
(rev 11542)
@@ -136,7 +136,7 @@
*/
public boolean connect() {
if((nodeAddress == null) || (port == 0)) {
- Logger.warning(this, "Address or port not defined !
Unable to connect\n");
+ Logger.warning(this, "Address or port not defined !
Unable to connect");
return false;
}
@@ -161,8 +161,8 @@
}
if(!socket.isConnected()) {
- Logger.warning(this, "Unable to connect, but no
exception ?! WTF ?\n");
- Logger.warning(this, "Will try to continue ...\n");
+ Logger.warning(this, "Unable to connect, but no
exception ?! WTF ?");
+ Logger.warning(this, "Will try to continue ...");
}
try {
@@ -231,7 +231,7 @@
return false;
}
} else {
- Logger.warning(this, "Cannot write if disconnected
!\n");
+ Logger.warning(this, "Cannot write if disconnected !");
return false;
}
@@ -294,7 +294,7 @@
bufferedOut.write(toWrite.getBytes());
}
} else {
- Logger.warning(this, "Cannot write if disconnected
!\n");
+ Logger.warning(this, "Cannot write if disconnected !");
if (checkLock)
removeFromWriterQueue();
return false;