Make throw statement consistent with others in same class

This commit is contained in:
Jason Tedor 2015-10-29 21:53:33 -04:00
parent c5ca1b10b6
commit c7897a7524
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ public class Cache<K, V> {
}).get();
}
} catch (ExecutionException | InterruptedException e) {
throw new IllegalStateException("future should be a completedFuture for which get should not throw", e);
throw new IllegalStateException(e);
}
}
return Tuple.tuple(entry, existing);