git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] activemq-artemis pull request #2093: ARTEMIS-1872 Check for queue exists bef...


Github user franz1981 commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/2093#discussion_r189859957
  
    --- Diff: artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/SimpleString.java ---
    @@ -150,6 +150,10 @@ public CharSequence subSequence(final int start, final int end) {
           return subSeq(start, end);
        }
     
    +   public static boolean compare(SimpleString s1, SimpleString s2) {
    --- End diff --
    
    you can call it equals as well, `compare` usually is used for `Comparator` API-like ie that return a `int` value


---



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-activemq-developers/msg08560.html on line 85
Call Stack
#TimeMemoryFunctionLocation
10.0008358472{main}( ).../msg08560.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-activemq-developers/msg08560.html on line 85
Call Stack
#TimeMemoryFunctionLocation
10.0008358472{main}( ).../msg08560.html:0