activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r370926 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/JMXSupport.java
Date Fri, 20 Jan 2006 23:14:40 GMT
Author: chirino
Date: Fri Jan 20 15:14:35 2006
New Revision: 370926

URL: http://svn.apache.org/viewcvs?rev=370926&view=rev
Log:
Applied patch reported by christopher.kingsbury@gmail.com

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/JMXSupport.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/JMXSupport.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/JMXSupport.java?rev=370926&r1=370925&r2=370926&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/JMXSupport.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/JMXSupport.java
Fri Jan 20 15:14:35 2006
@@ -16,14 +16,13 @@
  */
 package org.apache.activemq.util;
 
-import javax.management.ObjectName;
-
 public class JMXSupport {
     static public String encodeObjectNamePart(String part) {
         //return ObjectName.quote(part);
         String answer = part.replaceAll("[\\:\\,\\'\\\"]", "_");
         answer = answer.replaceAll("\\?", "&qe;");
         answer = answer.replaceAll("=", "&");
+        answer = answer.replaceAll("\\*", "*");
         return answer;
     }
 }



Mime
View raw message