Upgrade Guava to 20.0-rc1

The propagate and propagateIfPossible methods are deprecated. Replace
them with the recommended alternatives.

Change-Id: I9107dc51b968e2acc453502ece3c5ed5dd58b5de
This commit is contained in:
David Pursehouse
2016-10-24 21:41:57 +09:00
parent 5c7dbae701
commit ef6398e9d0
20 changed files with 31 additions and 25 deletions

View File

@@ -49,7 +49,7 @@ public class RefPattern {
try {
return exampleCache.get(refPattern);
} catch (ExecutionException e) {
Throwables.propagateIfPossible(e.getCause());
Throwables.throwIfUnchecked(e.getCause());
throw new RuntimeException(e);
}
} else if (refPattern.endsWith("/*")) {