directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r550102 - in /directory/clients/trunk/kerberos/password/src/main/java/org/apache/directory/client/password: ChangePassword.java protocol/PasswordClientHandler.java
Date Sat, 23 Jun 2007 20:40:29 GMT
Author: erodriguez
Date: Sat Jun 23 13:40:29 2007
New Revision: 550102

URL: http://svn.apache.org/viewvc?view=rev&rev=550102
Log:
Logging statement fixes in kerberos-clients.

Modified:
    directory/clients/trunk/kerberos/password/src/main/java/org/apache/directory/client/password/ChangePassword.java
    directory/clients/trunk/kerberos/password/src/main/java/org/apache/directory/client/password/protocol/PasswordClientHandler.java

Modified: directory/clients/trunk/kerberos/password/src/main/java/org/apache/directory/client/password/ChangePassword.java
URL: http://svn.apache.org/viewvc/directory/clients/trunk/kerberos/password/src/main/java/org/apache/directory/client/password/ChangePassword.java?view=diff&rev=550102&r1=550101&r2=550102
==============================================================================
--- directory/clients/trunk/kerberos/password/src/main/java/org/apache/directory/client/password/ChangePassword.java
(original)
+++ directory/clients/trunk/kerberos/password/src/main/java/org/apache/directory/client/password/ChangePassword.java
Sat Jun 23 13:40:29 2007
@@ -223,7 +223,7 @@
         String sentTime = now.toString();
         if ( !replyTime.equals( sentTime ) )
         {
-            log.debug( "Mismatched client time (Expected {}, get {}).", sentTime, replyTime
);
+            log.debug( "Mismatched client time (Expected {}, got {}).", sentTime, replyTime
);
             throw new PasswordConnectionException( "Mismatched client time." );
         }
 

Modified: directory/clients/trunk/kerberos/password/src/main/java/org/apache/directory/client/password/protocol/PasswordClientHandler.java
URL: http://svn.apache.org/viewvc/directory/clients/trunk/kerberos/password/src/main/java/org/apache/directory/client/password/protocol/PasswordClientHandler.java?view=diff&rev=550102&r1=550101&r2=550102
==============================================================================
--- directory/clients/trunk/kerberos/password/src/main/java/org/apache/directory/client/password/protocol/PasswordClientHandler.java
(original)
+++ directory/clients/trunk/kerberos/password/src/main/java/org/apache/directory/client/password/protocol/PasswordClientHandler.java
Sat Jun 23 13:40:29 2007
@@ -44,7 +44,7 @@
     {
         if ( log.isDebugEnabled() )
         {
-            log.debug( session.getRemoteAddress() + " CREATED : " + session.getTransportType()
);
+            log.debug( "{} CREATED : {}", session.getRemoteAddress(), session.getTransportType()
);
         }
 
         if ( session.getTransportType() == TransportType.DATAGRAM )
@@ -64,7 +64,7 @@
     {
         if ( log.isDebugEnabled() )
         {
-            log.debug( session.getRemoteAddress() + " RCVD: " + message );
+            log.debug( "{} RCVD: {}", session.getRemoteAddress(), message );
         }
 
         session.setAttribute( "reply", message );



Mime
View raw message