removed java lang imports

This commit is contained in:
Bhanu
2019-03-03 10:09:17 -06:00
parent fac3c6b0a4
commit 67d509fa75

View File

@ -8,9 +8,7 @@
method throws RuntimeException
]]></description>
<expected-problems>1</expected-problems>
<code><![CDATA[
import java.lang.RuntimeException;
<code><![CDATA[
public class Foo {
void foo() throws RuntimeException {}
}
@ -21,9 +19,7 @@ public class Foo {
method throws a subclass of RuntimeException
]]></description>
<expected-problems>1</expected-problems>
<code><![CDATA[
import java.lang.IllegalArgumentException;
<code><![CDATA[
public class Foo {
void foo() throws IllegalArgumentException {}
}
@ -71,9 +67,7 @@ public class Foo {
constructor throws RuntimeException
]]></description>
<expected-problems>1</expected-problems>
<code><![CDATA[
import java.lang.RuntimeException;
<code><![CDATA[
public class Foo {
Foo() throws RuntimeException {}
}