cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r365633 - /cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/event/impl/DefaultEventConverter.java
Date Tue, 03 Jan 2006 13:52:14 GMT
Author: cziegeler
Date: Tue Jan  3 05:52:11 2006
New Revision: 365633

URL: http://svn.apache.org/viewcvs?rev=365633&view=rev
Log:
Remove debug msgs

Modified:
    cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/event/impl/DefaultEventConverter.java

Modified: cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/event/impl/DefaultEventConverter.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/event/impl/DefaultEventConverter.java?rev=365633&r1=365632&r2=365633&view=diff
==============================================================================
--- cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/event/impl/DefaultEventConverter.java
(original)
+++ cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/event/impl/DefaultEventConverter.java
Tue Jan  3 05:52:11 2006
@@ -132,13 +132,10 @@
      * @see org.apache.cocoon.portal.event.EventConverter#decode(java.lang.String)
      */
     public Event decode(String value) {
-try {
         if (value != null) {
-            System.out.println("Decoding: " + value);
             // Is this a convertable event?
             int pos = value.indexOf(':');
             if ( pos > 1 ) {
-                System.out.println("Convertable");
                 final String hashKey = value.substring(0, pos);
                 final String data = value.substring(pos+1);
                 Object o = this.factories.get(hashKey);
@@ -166,7 +163,6 @@
                     }
                 }
             }
-            System.out.println("Search in list");
             List list = (List)this.portalService.getAttribute(EVENT_LIST);
             if ( null != list ) {
                 int index = new Integer(value).intValue();
@@ -174,11 +170,7 @@
                     return (Event)list.get(index);
                 }
             }
-            System.out.println("NOT FOUND");
         }
-} catch (Exception any) {
-    any.printStackTrace();
-}
         return null;
     }
 



Mime
View raw message