mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 16:28:56 +00:00
Added throw keyword to Throwables.propagate
Signed-off-by: Titouan Vervack <titouan.vervack@sigasi.com>
This commit is contained in:
parent
879016d8cb
commit
4f702ddc7a
1 changed files with 2 additions and 2 deletions
|
@ -249,7 +249,7 @@ public class DerivedStateAwareResource extends StorageAwareResource {
|
|||
operationCanceledManager.propagateAsErrorIfCancelException(e);
|
||||
}
|
||||
// Needed for Guava 14-19
|
||||
Throwables.propagate(e);
|
||||
throw Throwables.propagate(e);
|
||||
}
|
||||
}
|
||||
} catch (RuntimeException e) {
|
||||
|
@ -281,7 +281,7 @@ public class DerivedStateAwareResource extends StorageAwareResource {
|
|||
throw new IllegalStateException("IDerivedStateComputer#discardDerivedState should not check whether the current operation is canceled.", e);
|
||||
}
|
||||
// Needed for Guava 14-19
|
||||
Throwables.propagate(e);
|
||||
throw Throwables.propagate(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue