@Override
public Throwable extractWrappedTestEx( final Exception from ) {
if (from instanceof ExecutionException ) {
- return ((ExecutionException)from).getCause();
+ return from.getCause();
}
return from;
@Override
public Throwable extractWrappedTestEx( final Exception from ) {
if (from instanceof ExecutionException ) {
- return ((ExecutionException)from).getCause();
+ return from.getCause();
}
return from;