Make throw statement consistent with others in same class
This commit is contained in:
parent
c5ca1b10b6
commit
c7897a7524
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue