github-advanced-security[bot] commented on code in PR #1085: URL: https://github.com/apache/syncope/pull/1085#discussion_r2097542427
########## fit/core-reference/src/test/java/org/apache/syncope/fit/AbstractITCase.java: ########## @@ -524,6 +533,19 @@ } } + @BeforeAll + public static void conf() { + Properties props = new Properties(); + try (InputStream propStream = AbstractITCase.class.getResourceAsStream("/test.properties")) { + props.load(propStream); + } catch (Exception e) { + LOG.error("Could not load /test.properties", e); + } + + POP3_PORT = Integer.parseInt(props.getProperty("testmail.pop3port")); Review Comment: ## Missing catch of NumberFormatException Potential uncaught 'java.lang.NumberFormatException'. [Show more details](https://github.com/apache/syncope/security/code-scanning/2257) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@syncope.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org