cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r712893 - /cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java
Date Tue, 11 Nov 2008 01:00:54 GMT
Author: ningjiang
Date: Mon Nov 10 17:00:53 2008
New Revision: 712893

URL: http://svn.apache.org/viewvc?rev=712893&view=rev
Log:
CXF-1749 a litter improvement of the JMSUtils

Modified:
    cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java

Modified: cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java?rev=712893&r1=712892&r2=712893&view=diff
==============================================================================
--- cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java (original)
+++ cxf/trunk/rt/transports/jms/src/main/java/org/apache/cxf/transport/jms/JMSUtils.java Mon
Nov 10 17:00:53 2008
@@ -181,7 +181,8 @@
         for (String token : tokens) {
             int index = token.indexOf("charset=");
             if (index >= 0) {
-                enc = token.substring(index + 8);                
+                enc = token.substring(index + 8);
+                break;
             }            
         }
         



Mime
View raw message