[jboss-cvs] JBoss Messaging SVN: r1386 - in trunk: src/main/org/jboss/jms/server/endpoint tests/src/org/jboss/test/messaging/jms

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Sep 28 19:56:54 EDT 2006


Author: ovidiu.feodorov at jboss.com
Date: 2006-09-28 19:56:52 -0400 (Thu, 28 Sep 2006)
New Revision: 1386

Modified:
   trunk/src/main/org/jboss/jms/server/endpoint/ServerSessionEndpoint.java
   trunk/tests/src/org/jboss/test/messaging/jms/SecurityTest.java
Log:
minor reformatting

Modified: trunk/src/main/org/jboss/jms/server/endpoint/ServerSessionEndpoint.java
===================================================================
--- trunk/src/main/org/jboss/jms/server/endpoint/ServerSessionEndpoint.java	2006-09-28 23:55:10 UTC (rev 1385)
+++ trunk/src/main/org/jboss/jms/server/endpoint/ServerSessionEndpoint.java	2006-09-28 23:56:52 UTC (rev 1386)
@@ -179,7 +179,7 @@
         
          Binding binding = null;
          
-         //Always validate the selector first
+         // Always validate the selector first
          Selector selector = null;
          if (selectorString != null)
          {
@@ -232,7 +232,7 @@
                   throw new JMSException("Cannot create durable subscriber without a valid client ID");
                }
                
-               //See if there any bindings with the same client_id.subscription_name name
+               // See if there any bindings with the same client_id.subscription_name name
                
                String name = MessageQueueNameHelper.createSubscriptionName(clientID, subscriptionName);
                

Modified: trunk/tests/src/org/jboss/test/messaging/jms/SecurityTest.java
===================================================================
--- trunk/tests/src/org/jboss/test/messaging/jms/SecurityTest.java	2006-09-28 23:55:10 UTC (rev 1385)
+++ trunk/tests/src/org/jboss/test/messaging/jms/SecurityTest.java	2006-09-28 23:56:52 UTC (rev 1386)
@@ -27,7 +27,6 @@
 import javax.jms.IllegalStateException;
 import javax.jms.JMSSecurityException;
 import javax.jms.Message;
-import javax.jms.MessageConsumer;
 import javax.jms.MessageProducer;
 import javax.jms.Queue;
 import javax.jms.Session;
@@ -776,10 +775,7 @@
 
       try
       {
-         MessageConsumer cons = sess.createConsumer(dest);    
-             
-        // cons.receiveNoWait();
-         
+         sess.createConsumer(dest);
          return true;
       }
       catch (JMSSecurityException e)




More information about the jboss-cvs-commits mailing list