Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
2.0.0.AM26
-
None
-
None
Description
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.
Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE.
Author E. Bykhanova (e.bykhanova@fobos-nt.ru).