You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lécharny (Jira)" <ji...@apache.org> on 2024/03/31 22:40:00 UTC

[jira] [Resolved] (DIRSERVER-2396) SIMILAR_BRANCHES in ../codec/types/PaDataType.java

     [ https://issues.apache.org/jira/browse/DIRSERVER-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lécharny resolved DIRSERVER-2396.
------------------------------------------
    Fix Version/s: 2.0.0.AM28
       Resolution: Fixed

Not any more part of the next release, Kerberos has been removed.

> SIMILAR_BRANCHES in ../codec/types/PaDataType.java
> --------------------------------------------------
>
>                 Key: DIRSERVER-2396
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2396
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0.AM26
>            Reporter: e.bykhanova
>            Priority: Trivial
>             Fix For: 2.0.0.AM28
>
>         Attachments: image-2024-03-06-10-53-02-886.png, image-2024-03-06-10-53-41-922.png
>
>
> The static analyzer has detected {*}SIMILAR_BRANCHES{*}: here we have identical branches in switch node.
> The values for all cases are defined in '{_}public enum PaDataType'{_} ** (PaDataType.java:28-121). There are comments from the developer: _Constant for the "encryption info"_ for {*}PA_ENCTYPE_INFO{*}(11) and _Constant for the "encryption info2"_ for \{*}PA_ENCTYPE_INFO2{*}(19) - it seems that something like "{_}Encryption info2{_}." would be more logical to use in print-function at {_}PaDataType.java:249{_}.
>  
> !image-2024-03-06-10-53-02-886.png!
>  
> !image-2024-03-06-10-53-41-922.png!
>  
> Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE.
> Author E. Bykhanova (e.bykhanova@fobos-nt.ru).
> h4.



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

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