Skip to content

Conversation

@dreab8
Copy link
Member

@dreab8 dreab8 commented Oct 3, 2024

https://hibernate.atlassian.net/browse/HHH-18513

#8820 backport to 6.6


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


@dreab8 dreab8 added the 6.6 label Oct 3, 2024
@dreab8 dreab8 merged commit 4119e44 into hibernate:6.6 Oct 3, 2024
17 checks passed
Pattern pattern = Pattern.compile( regex );
Matcher matcher = pattern.matcher( logMessage );
assertTrue( matcher.find() );
return new SessionMetric( Long.parseLong( matcher.group( 1 ) ), Integer.parseInt( matcher.group( 2 ) ) );

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note test

Potential uncaught 'java.lang.NumberFormatException'.
Pattern pattern = Pattern.compile( regex );
Matcher matcher = pattern.matcher( logMessage );
assertTrue( matcher.find() );
return new SessionMetric( Long.parseLong( matcher.group( 1 ) ), Integer.parseInt( matcher.group( 2 ) ) );

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note test

Potential uncaught 'java.lang.NumberFormatException'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants