CodeNarc complains about the unused variable

This commit is contained in:
Laplie Anderson 2019-08-26 11:19:03 -04:00
parent 7b66a31d80
commit 25c0d19f23
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class ModuleInjectionTest extends AgentTestRunner {
*/
def "test instrumenting java.desktop class"() {
when:
RepaintManager repaintManager = new RepaintManager()
new RepaintManager()
then:
noExceptionThrown()