Remove redundant throws declarations. #1542
This commit is contained in:
parent
c6df309827
commit
ef422e76c6
|
|
@ -181,7 +181,7 @@ public class PackageNamesLoaderTest {
|
|||
public static URL getMockUrl(final URLConnection connection) throws IOException {
|
||||
final URLStreamHandler handler = new URLStreamHandler() {
|
||||
@Override
|
||||
protected URLConnection openConnection(final URL arg0) throws IOException {
|
||||
protected URLConnection openConnection(final URL arg0) {
|
||||
return connection;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ public class LocalizedMessageTest {
|
|||
public static URL getMockUrl(final URLConnection connection) throws IOException {
|
||||
final URLStreamHandler handler = new URLStreamHandler() {
|
||||
@Override
|
||||
protected URLConnection openConnection(final URL arg0) throws IOException {
|
||||
protected URLConnection openConnection(final URL arg0) {
|
||||
return connection;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue