Pavel Nekrasov created DIRAPI-406:
-------------------------------------

             Summary: Identical Branches in Conditional Node in `action` Method
                 Key: DIRAPI-406
                 URL: https://issues.apache.org/jira/browse/DIRAPI-406
             Project: Directory Client API
          Issue Type: Bug
            Reporter: Pavel Nekrasov


In the `action` method of the `StoreSearchRequestBaseObject` class, the 
branches within the conditional check for `dnFactory` are identical, as both 
branches create a new `Dn` object with the same `dnStr` parameter.

You can view the code here: 
[StoreSearchRequestBaseObject.java|https://github.com/apache/directory-ldap-api/blob/780a9e65bd2e5f404f9afc96465edb3592488ae7/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/actions/request/search/StoreSearchRequestBaseObject.java#L88-L95].

Found by Linux Verification Center (linuxtesting.org) with SVACE.
Reporter: Pavel Nekrasov 
([p.nekra...@fobos-nt.ru|mailto:p.nekra...@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