[jboss-cvs] JBoss Messaging SVN: r2186 - in trunk/src/main/org/jboss/messaging/core: plugin and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Feb 5 10:46:22 EST 2007


Author: clebert.suconic at jboss.com
Date: 2007-02-05 10:46:22 -0500 (Mon, 05 Feb 2007)
New Revision: 2186

Modified:
   trunk/src/main/org/jboss/messaging/core/ChannelSupport.java
   trunk/src/main/org/jboss/messaging/core/plugin/JDBCPersistenceManager.java
Log:
clean up

Modified: trunk/src/main/org/jboss/messaging/core/ChannelSupport.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/ChannelSupport.java	2007-02-05 13:15:50 UTC (rev 2185)
+++ trunk/src/main/org/jboss/messaging/core/ChannelSupport.java	2007-02-05 15:46:22 UTC (rev 2186)
@@ -500,8 +500,6 @@
                   // http://jira.jboss.org/jira/browse/JBMESSAGING-808
                   log.warn(this + " cannot find reference " + id + " (Might be paged!)");
                   break;
-                  
-                  //throw new IllegalStateException("Cannot find ref in queue! (Might be paged!) " + id);
                }
                
                MessageReference ref = (MessageReference)liter.next();

Modified: trunk/src/main/org/jboss/messaging/core/plugin/JDBCPersistenceManager.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/plugin/JDBCPersistenceManager.java	2007-02-05 13:15:50 UTC (rev 2185)
+++ trunk/src/main/org/jboss/messaging/core/plugin/JDBCPersistenceManager.java	2007-02-05 15:46:22 UTC (rev 2186)
@@ -1622,10 +1622,8 @@
             
             if (rows != 1)
             {
-               // http://jira.jboss.com/jira/browse/JBMESSAGING-808
                log.warn("Failed to remove row for: " + ref);
                return;
-               //throw new IllegalStateException("Failed to remove row for: " + ref);
             }
             
             if (trace) { log.trace("Deleted " + rows + " rows"); }




More information about the jboss-cvs-commits mailing list