remove extranous exception throw (#114)

This commit is contained in:
Mike Nakhimovich 2017-02-07 13:02:57 -05:00 committed by GitHub
parent 154ee0e533
commit 4afb8ceb0c

View file

@ -37,11 +37,9 @@ public final class SourcePersisterFactory {
/**
* Returns a new {@link BufferedSource} persister with the provided fileSystem as the root of the
* persistence {@link com.nytimes.android.external.fs.filesystem.FileSystem}.
*
* @throws IOException
*/
**/
@Nonnull
public static Persister<BufferedSource, BarCode> create(@Nonnull FileSystem fileSystem) throws IOException {
public static Persister<BufferedSource, BarCode> create(@Nonnull FileSystem fileSystem) {
if (fileSystem == null) {
throw new IllegalArgumentException("fileSystem cannot be null.");
}