activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject svn commit: r431716 - /incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/StompTest.java
Date Tue, 15 Aug 2006 21:57:07 GMT
Author: brianm
Date: Tue Aug 15 14:57:06 2006
New Revision: 431716

URL: http://svn.apache.org/viewvc?rev=431716&view=rev
Log:
Minor change to test case

Modified:
    incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/StompTest.java

Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/StompTest.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/StompTest.java?rev=431716&r1=431715&r2=431716&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/StompTest.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/transport/stomp/StompTest.java
Tue Aug 15 14:57:06 2006
@@ -333,8 +333,7 @@
         assertTrue(cl_matcher.find());
         assertEquals("5", cl_matcher.group(1));
 
-        Pattern null_type_pattern = Pattern.compile("type:\\s*null", Pattern.CASE_INSENSITIVE);
-        assertFalse(null_type_pattern.matcher(frame).find());
+        assertFalse(Pattern.compile("type:\\s*null", Pattern.CASE_INSENSITIVE).matcher(frame).find());
 
         frame =
             "DISCONNECT\n" +



Mime
View raw message