forked from phoedos/pmd
Simplify test
This commit is contained in:
@ -1,10 +0,0 @@
|
||||
/**
|
||||
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
|
||||
*/
|
||||
|
||||
package net.sourceforge.pmd.lang.java.rule.bestpractices.unusedimports;
|
||||
|
||||
public class Base {
|
||||
void method(java.io.File file) {
|
||||
}
|
||||
}
|
@ -462,12 +462,11 @@ public class Imports {
|
||||
<code><![CDATA[
|
||||
package net.sourceforge.pmd.lang.java.rule.bestpractices.unusedimports;
|
||||
|
||||
import static net.sourceforge.pmd.lang.java.rule.bestpractices.unusedimports.Base;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
|
||||
public class Derived extends Base {
|
||||
/** @see #method(File) */
|
||||
public class Derived extends FileInputStream {
|
||||
/** @see #FileInputStream(File) */
|
||||
void main() {}
|
||||
}
|
||||
]]></code>
|
||||
|
Reference in New Issue
Block a user