activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-4010) Use pre compiled patterns for JMX ObjectName encoder
Date Sat, 01 Sep 2012 13:05:07 GMT
Claus Ibsen created AMQ-4010:
--------------------------------

             Summary: Use pre compiled patterns for JMX ObjectName encoder
                 Key: AMQ-4010
                 URL: https://issues.apache.org/jira/browse/AMQ-4010
             Project: ActiveMQ
          Issue Type: Improvement
          Components: Broker
    Affects Versions: 5.6.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 5.7.0
         Attachments: after.png, before.png

Using string replaceAll does not cache the regexp, and would need to compile on each invocation.

Its thus better to use a pre compiled pattern if possible.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message