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:
@@ -97,7 +97,7 @@ public class AliasCommand extends BaseCommand {
|
||||
try {
|
||||
cmd.destroy();
|
||||
} catch (Exception e) {
|
||||
Throwables.propagateIfPossible(e);
|
||||
Throwables.throwIfUnchecked(e);
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -136,7 +136,7 @@ final class DispatchCommand extends BaseCommand {
|
||||
try {
|
||||
cmd.destroy();
|
||||
} catch (Exception e) {
|
||||
Throwables.propagateIfPossible(e);
|
||||
Throwables.throwIfUnchecked(e);
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -153,7 +153,7 @@ public final class SuExec extends BaseCommand {
|
||||
try {
|
||||
cmd.destroy();
|
||||
} catch (Exception e) {
|
||||
Throwables.propagateIfPossible(e);
|
||||
Throwables.throwIfUnchecked(e);
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user