directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r371302 - in /directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/extended/operations: GracefulDisconnect.java GracefulShutdown.java
Date Sun, 22 Jan 2006 14:16:44 GMT
Author: elecharny
Date: Sun Jan 22 06:16:39 2006
New Revision: 371302

URL: http://svn.apache.org/viewcvs?rev=371302&view=rev
Log:
- Used the common class which hold constants for both Disconnect and 
Shutdown operations.
- Change the Copyright date to 2006 in the header

Modified:
    directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/extended/operations/GracefulDisconnect.java
    directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/extended/operations/GracefulShutdown.java

Modified: directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/extended/operations/GracefulDisconnect.java
URL: http://svn.apache.org/viewcvs/directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/extended/operations/GracefulDisconnect.java?rev=371302&r1=371301&r2=371302&view=diff
==============================================================================
--- directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/extended/operations/GracefulDisconnect.java
(original)
+++ directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/extended/operations/GracefulDisconnect.java
Sun Jan 22 06:16:39 2006
@@ -1,5 +1,5 @@
 /*
- *   Copyright 2004 The Apache Software Foundation
+ *   Copyright 2006 The Apache Software Foundation
  *
  *   Licensed under the Apache License, Version 2.0 (the "License");
  *   you may not use this file except in compliance with the License.
@@ -167,7 +167,7 @@
         
         if ( delay != 0 )
         {
-            bb.put( (byte)GracefulDisconnectConstants.GRACEFUL_DISCONNECT_DELAY_TAG );
+            bb.put( (byte)GracefulActionConstants.GRACEFUL_ACTION_DELAY_TAG );
             bb.put( (byte)Length.getNbBytes( delay ) );
             bb.put( Value.getBytes( delay ) );
         }

Modified: directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/extended/operations/GracefulShutdown.java
URL: http://svn.apache.org/viewcvs/directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/extended/operations/GracefulShutdown.java?rev=371302&r1=371301&r2=371302&view=diff
==============================================================================
--- directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/extended/operations/GracefulShutdown.java
(original)
+++ directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/extended/operations/GracefulShutdown.java
Sun Jan 22 06:16:39 2006
@@ -1,5 +1,5 @@
 /*
- *   Copyright 2004 The Apache Software Foundation
+ *   Copyright 2006 The Apache Software Foundation
  *
  *   Licensed under the Apache License, Version 2.0 (the "License");
  *   you may not use this file except in compliance with the License.
@@ -92,7 +92,7 @@
         
         if ( delay != 0 )
         {
-            bb.put( (byte)GracefulShutdownConstants.GRACEFUL_SHUTDOWN_DELAY_TAG );
+            bb.put( (byte)GracefulActionConstants.GRACEFUL_ACTION_DELAY_TAG );
             bb.put( (byte)Length.getNbBytes( delay ) );
             bb.put( Value.getBytes( delay ) );
         }



Mime
View raw message