Alex created DIRAPI-410:
---------------------------
Summary: unchecked function result in Ava.java
Key: DIRAPI-410
URL: https://issues.apache.org/jira/browse/DIRAPI-410
Project: Directory Client API
Issue Type: Bug
Reporter: Alex
in.readBoolean() reads the next token from the input stream, analyzes it as a
boolean value (interpreting either "true" or "1" as true, and "false" or "0" as
false). However, in this trigger, the value in.readBoolean() is not assigned to
anything and the resulting value is not used in the code. It is necessary to
either add processing of the received value if necessary, or simply delete this
method because it is unnecessary.
https://github.com/apache/directory-ldap-api/blob/ff9b56ecb984bdbed0f4df25da1485e8a4b4a870/ldap/model/src/main/java/org/apache/directory/api/ldap/model/name/Ava.java#L1275-L1281
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]