directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r655340 - /directory/apacheds/trunk/core-entry/src/main/java/org/apache/directory/server/core/entry/ServerEntrySerializer.java
Date Sun, 11 May 2008 17:17:37 GMT
Author: akarasulu
Date: Sun May 11 10:17:36 2008
New Revision: 655340

URL: http://svn.apache.org/viewvc?rev=655340&view=rev
Log:
reverting http://svn.apache.org/viewvc?rev=655322&view=rev on request from elecharny

Modified:
    directory/apacheds/trunk/core-entry/src/main/java/org/apache/directory/server/core/entry/ServerEntrySerializer.java

Modified: directory/apacheds/trunk/core-entry/src/main/java/org/apache/directory/server/core/entry/ServerEntrySerializer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-entry/src/main/java/org/apache/directory/server/core/entry/ServerEntrySerializer.java?rev=655340&r1=655339&r2=655340&view=diff
==============================================================================
--- directory/apacheds/trunk/core-entry/src/main/java/org/apache/directory/server/core/entry/ServerEntrySerializer.java
(original)
+++ directory/apacheds/trunk/core-entry/src/main/java/org/apache/directory/server/core/entry/ServerEntrySerializer.java
Sun May 11 10:17:36 2008
@@ -155,6 +155,12 @@
 
         out.flush();
 
+        if ( IS_DEBUG )
+        {
+            LOG.debug( ">------------------------------------------------" );
+            LOG.debug( "Serialize " + entry );
+        }
+
         return baos.toByteArray();
     }
 
@@ -361,6 +367,12 @@
                 serverEntry.put( serverAttribute );
             }
 
+            if ( IS_DEBUG )
+            {
+                LOG.debug( "<------------------------------------------------" );
+                LOG.debug( "Deserialize " + serverEntry );
+            }
+
             return serverEntry;
         }
         catch ( ClassNotFoundException cnfe )



Mime
View raw message