[ https://issues.apache.org/jira/browse/ARTEMIS-4779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram updated ARTEMIS-4779: ------------------------------------ Priority: Trivial (was: Major) > UNCHECKED_FUNC_RES.STAT Return value of function is not checked > --------------------------------------------------------------- > > Key: ARTEMIS-4779 > URL: https://issues.apache.org/jira/browse/ARTEMIS-4779 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: JMS > Reporter: Andrey Slepykh > Priority: Trivial > Attachments: image-2024-05-22-17-02-37-538.png > > > in line: > https://github.com/apache/activemq-artemis/blob/fb1b362b473cad51ae5d05a897be02b1fa8461d4/artemis-jms-server/src/main/java/org/apache/activemq/artemis/jms/server/config/impl/ConnectionFactoryConfigurationImpl.java#L625 > In this case, the readBoolean() function reads short values from the > component. Checking for the existence of values is necessary in all cases, > since the developer cannot be sure that the value of a variable will not be > returned with an error. > !image-2024-05-22-17-02-37-538.png! > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@activemq.apache.org For additional commands, e-mail: issues-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact