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

@@ -399,7 +399,7 @@ public class LuceneChangeIndex implements ChangeIndex {
close();
throw new OrmRuntimeException(e);
} catch (ExecutionException e) {
Throwables.propagateIfPossible(e.getCause());
Throwables.throwIfUnchecked(e.getCause());
throw new OrmRuntimeException(e.getCause());
}
}