Artemii created DIRSERVER-2400:
----------------------------------

             Summary: Comparison of String objects
                 Key: DIRSERVER-2400
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2400
             Project: Directory ApacheDS
          Issue Type: Bug
            Reporter: Artemii


Comparison of String objects using == or != in function *computeSubLevelScope* 
in line №509. 
[Link|https://github.com/apache/directory-server/blob/c347daec5cc1b14d98de01395c8be892b3db0c04/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/CursorBuilder.java#L503]
 to this function. I consider it necessary to clarify with the developers if 
they expect a comparison of string literals or pointers.

 

Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE.

Author A. Voronin (a.voro...@fobos-nt.ru).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to