[jboss-cvs] JBoss Messaging SVN: r3085 - trunk/src/main/org/jboss/messaging/core/impl.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Sep 4 14:32:22 EDT 2007
Author: clebert.suconic at jboss.com
Date: 2007-09-04 14:32:22 -0400 (Tue, 04 Sep 2007)
New Revision: 3085
Modified:
trunk/src/main/org/jboss/messaging/core/impl/JDBCPersistenceManager.java
Log:
minor comment change
Modified: trunk/src/main/org/jboss/messaging/core/impl/JDBCPersistenceManager.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/impl/JDBCPersistenceManager.java 2007-09-04 18:23:40 UTC (rev 3084)
+++ trunk/src/main/org/jboss/messaging/core/impl/JDBCPersistenceManager.java 2007-09-04 18:32:22 UTC (rev 3085)
@@ -176,12 +176,14 @@
try
{
// if JBM_DUAL is empty, and if an exception happened, we should warn!
+ // if JBM_DUAL has a line already, we don't care about the exception...
if (!rset.next())
{
throw e;
}
- // if JBM_DUAL has a line already, we don't care about the exception...
+
+ // if there are two lines or more on JBM_DUAL, that is also a problem
if (rset.next())
{
throw new IllegalStateException("JBM_DUAL is missing a primary key as it allowed a duplicate value");
More information about the jboss-cvs-commits
mailing list