mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
Make throw statement consistent with others in same class
This commit is contained in:
parent
c5ca1b10b6
commit
c7897a7524
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue