Remove redundant throws declarations. #1542

This commit is contained in:
Michal Kordas 2015-08-02 23:05:28 +02:00 committed by Roman Ivanov
parent c6df309827
commit ef422e76c6
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}
};

View File

@ -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;
}
};