Pankraz76 commented on code in PR #2367: URL: https://github.com/apache/maven/pull/2367#discussion_r2100145177
########## compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java: ########## @@ -293,10 +293,9 @@ void testResolveNearestWithRanges() throws ArtifactResolutionException, InvalidV } @Test - @SuppressWarnings("checkstyle:UnusedLocalVariable") void testResolveRangeWithManagedVersion() throws ArtifactResolutionException, InvalidVersionSpecificationException { ArtifactSpec a = createArtifactSpec("a", "1.0"); - ArtifactSpec b = a.addDependency("b", "[1.0,3.0]"); Review Comment: does this [unusedassignment](https://pmd.github.io/pmd/pmd_rules_java_bestpractices.html#unusedassignment) server a higher purpose? -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org