Fix new API method signature in tests.
@@ -467,13 +467,8 @@ class ModuleDetectorTest extends ResourceTest {
}
private InputStream createEmptyStream() {
- try {
return IOUtils.toInputStream("", "UTF-8");
}
- catch (IOException e) {
- throw new AssertionError(e);
- }
- }
private FileSystem createFileSystemStub(final Stub stub) {
try {
