ChangeBatchIndexer: Join catch clauses where possible

Change-Id: I5c08ee785770497384d8daf1be8b4a2116cc76a0
This commit is contained in:
Dave Borowitz
2014-05-09 11:59:38 -07:00
parent f7f33ffe9f
commit f6a7ba26f1

View File

@@ -161,13 +161,13 @@ public class ChangeBatchIndexer {
public void run() {
try {
future.get();
} catch (InterruptedException e) {
fail(project, e);
} catch (ExecutionException e) {
} catch (ExecutionException | InterruptedException e) {
fail(project, e);
} catch (RuntimeException e) {
failAndThrow(project, e);
} catch (Error e) {
// Can't join with RuntimeException because "RuntimeException |
// Error" becomes Throwable, which messes with signatures.
failAndThrow(project, e);
} finally {
projTask.update(1);