1
0
mirror of https://github.com/square/okhttp.git synced 2025-08-07 12:42:57 +03:00

Removed IOException from FileSystem exists method as this should never occur.

This commit is contained in:
Dave Roberge
2016-02-25 16:52:53 -05:00
parent 2c3deaebff
commit aaa41df1e9
4 changed files with 5 additions and 5 deletions

View File

@@ -113,7 +113,7 @@ public final class InMemoryFileSystem implements FileSystem, TestRule {
files.remove(file);
}
@Override public boolean exists(File file) throws IOException {
@Override public boolean exists(File file) {
return files.containsKey(file);
}