activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1070443 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/OpenTypeSupport.java
Date Mon, 14 Feb 2011 11:15:43 GMT
Author: gtully
Date: Mon Feb 14 11:15:42 2011
New Revision: 1070443

URL: http://svn.apache.org/viewvc?rev=1070443&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-3180 - ensure correct type us used in error case

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/OpenTypeSupport.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/OpenTypeSupport.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/OpenTypeSupport.java?rev=1070443&r1=1070442&r2=1070443&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/OpenTypeSupport.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/OpenTypeSupport.java
Mon Feb 14 11:15:42 2011
@@ -306,7 +306,7 @@ public final class OpenTypeSupport {
 
                 rc.put(BODY_PREVIEW, data);
             } catch (JMSException e) {
-                rc.put(BODY_PREVIEW, new byte[] {});
+                rc.put(BODY_PREVIEW, new Byte[] {});
             }
             return rc;
         }



Mime
View raw message