You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2004/12/13 01:28:02 UTC

svn commit: r111679 - /lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/Identity.java

Author: gregor
Date: Sun Dec 12 16:28:01 2004
New Revision: 111679

URL: http://svn.apache.org/viewcvs?view=rev&rev=111679
Log:
Removed spurious debugging statements and improved language
Modified:
   lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/Identity.java

Modified: lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/Identity.java
Url: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/Identity.java?view=diff&rev=111679&p1=lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/Identity.java&r1=111678&p2=lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/Identity.java&r2=111679
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/Identity.java	(original)
+++ lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/Identity.java	Sun Dec 12 16:28:01 2004
@@ -42,25 +42,26 @@
     }
 
     /**
-     * The the case of Tomcat the object will be serialized to TOMCAT/work/Standalone/localhost/lenya/SESSIONS.ser
+     * In the case of Tomcat the object will be serialized to TOMCAT/work/Standalone/localhost/lenya/SESSIONS.ser
      */
     private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-        log.warn("Serializing identity which is attached to session: " + this.toString());
-
+        if (log.isDebugEnabled()) {
+        	log.debug("Serializing identity which is attached to session: " + this.toString());
+        }
         out.defaultWriteObject();
-
         out.writeObject(identifiables);
     }
 
     /**
-     * The the case of Tomcat the object will be restored from TOMCAT/work/Standalone/localhost/lenya/SESSIONS.ser
+     * In case of Tomcat the object will be restored from TOMCAT/work/Standalone/localhost/lenya/SESSIONS.ser
      */
     private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
         in.defaultReadObject();
-
         identifiables = (Set) in.readObject();
 
-        log.warn("Identity loaded from serialized object: " + this.toString());
+        if (log.isDebugEnabled()) {
+        	log.debug("Identity loaded from serialized object: " + this.toString());
+        }
     }
 
     /**

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org