lprimak commented on code in PR #2915:
URL: https://github.com/apache/shiro/pull/2915#discussion_r4307760291
##########
core/src/test/java/org/apache/shiro/realm/text/IniRealmTest.java:
##########
@@ -35,7 +35,7 @@ public class IniRealmTest {
@Test
void testNullIni() {
- IniRealm realm = new IniRealm((Ini) null);
+ new IniRealm((Ini) null);
Review Comment:
Yes, I would think Sonarqube would complain about this, but I don't think
CodeQL is as sophisticated and doesn't check for this.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]