notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r1276 - in trunk/main: planet/http/impl/src/main/net/dpml/http station/server/src/main/net/dpml/station/server
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1276 - in trunk/main: planet/http/impl/src/main/net/dpml/http station/server/src/main/net/dpml/station/server
- Date: Mon, 27 Mar 2006 17:50:08 +0200
Author: mcconnell
Date: 2006-03-27 17:50:06 +0200 (Mon, 27 Mar 2006)
New Revision: 1276
Modified:
trunk/main/planet/http/impl/src/main/net/dpml/http/LogAdapter.java
trunk/main/planet/http/impl/src/main/net/dpml/http/LoggerAdapter.java
trunk/main/station/server/src/main/net/dpml/station/server/LoggingServer.java
Log:
housekeeping
Modified: trunk/main/planet/http/impl/src/main/net/dpml/http/LogAdapter.java
===================================================================
--- trunk/main/planet/http/impl/src/main/net/dpml/http/LogAdapter.java
2006-03-27 15:38:31 UTC (rev 1275)
+++ trunk/main/planet/http/impl/src/main/net/dpml/http/LogAdapter.java
2006-03-27 15:50:06 UTC (rev 1276)
@@ -102,7 +102,7 @@
* @param arg0 an intial argument
* @param arg1 a subsequent argument
*/
- public void warn( String msg,Object arg0, Object arg1 )
+ public void warn( String msg, Object arg0, Object arg1 )
{
if( m_logger.isLoggable( Level.WARNING ) )
{
Modified:
trunk/main/planet/http/impl/src/main/net/dpml/http/LoggerAdapter.java
===================================================================
--- trunk/main/planet/http/impl/src/main/net/dpml/http/LoggerAdapter.java
2006-03-27 15:38:31 UTC (rev 1275)
+++ trunk/main/planet/http/impl/src/main/net/dpml/http/LoggerAdapter.java
2006-03-27 15:50:06 UTC (rev 1276)
@@ -134,7 +134,7 @@
* @param arg0 an intial argument
* @param arg1 a subsequent argument
*/
- public void warn( String msg,Object arg0, Object arg1 )
+ public void warn( String msg, Object arg0, Object arg1 )
{
if( m_logger.isWarnEnabled() )
{
@@ -180,7 +180,7 @@
if( ( arg0 != null ) && ( i0 >= 0 ) )
{
msg =
- msg.substring( 0,i0 )
+ msg.substring( 0, i0 )
+ arg0
+ msg.substring( i0 + 2 );
}
Modified:
trunk/main/station/server/src/main/net/dpml/station/server/LoggingServer.java
===================================================================
---
trunk/main/station/server/src/main/net/dpml/station/server/LoggingServer.java
2006-03-27 15:38:31 UTC (rev 1275)
+++
trunk/main/station/server/src/main/net/dpml/station/server/LoggingServer.java
2006-03-27 15:50:06 UTC (rev 1276)
@@ -41,7 +41,7 @@
*/
public class LoggingServer implements Runnable
{
- private static final PID PID = new PID();
+ private static final PID PROCESS = new PID();
private final ServerSocket m_server;
@@ -87,7 +87,7 @@
/**
* Internal utility class to handle a client connection.
*/
- class RequestHandler implements Runnable
+ final class RequestHandler implements Runnable
{
private final Socket m_socket;
@@ -117,7 +117,7 @@
{
LogStatement statement = (LogStatement) object;
PID pid = statement.getPID();
- if( !PID.equals( pid ) )
+ if( !PROCESS.equals( pid ) )
{
int id = pid.getValue();
LogRecord record = statement.getLogRecord();
@@ -139,7 +139,7 @@
}
catch( SocketException ioe )
{
- //
+ // ignore
}
catch( IOException ioe )
{
- r1276 - in trunk/main: planet/http/impl/src/main/net/dpml/http station/server/src/main/net/dpml/station/server, mcconnell at BerliOS, 03/27/2006
Archive powered by MHonArc 2.6.24.