activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From franz1981 <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #1786: ARTEMIS-1616 OpenWire improvements
Date Thu, 18 Jan 2018 08:16:15 GMT
Github user franz1981 commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1786#discussion_r162272711
  
    --- Diff: artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/SimpleString.java
---
    @@ -361,13 +371,68 @@ public int hashCode() {
           }
        }
     
    +   private static SimpleString[] splitWithCachedString(final SimpleString simpleString,
final int delim) {
    --- End diff --
    
    To avoid the translation into into each time because String::indexOf is using int 


---

Mime
View raw message