From af96d35b5a37fc5d4e2a6655c56651945669f53d Mon Sep 17 00:00:00 2001 From: Xavier Le Vourch Date: Mon, 23 Feb 2009 17:19:26 +0000 Subject: [PATCH] wrong test case for Bug 2606609 : False "UnusedImports" positive in package-info.java git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6872 51baf565-9d33-0410-a72c-fc3788e3496d --- .../pmd/lang/java/rule/imports/xml/UnusedImports.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pmd/regress/test/net/sourceforge/pmd/lang/java/rule/imports/xml/UnusedImports.xml b/pmd/regress/test/net/sourceforge/pmd/lang/java/rule/imports/xml/UnusedImports.xml index 84707a99b4..d4cfa3ab61 100644 --- a/pmd/regress/test/net/sourceforge/pmd/lang/java/rule/imports/xml/UnusedImports.xml +++ b/pmd/regress/test/net/sourceforge/pmd/lang/java/rule/imports/xml/UnusedImports.xml @@ -205,7 +205,7 @@ public class Foo { ]]> - + @@ -214,7 +214,8 @@ Bug 2606609 : False "UnusedImports" positive in package-info.java @DefaultAnnotation(NonNull.class) package net.sourceforge.pmd.test; -public class Bug {} +import edu.umd.cs.findbugs.annotations.DefaultAnnotation; +import edu.umd.cs.findbugs.annotations.NonNull; ]]>