commit
fbb09cd09c
|
|
@ -165,10 +165,12 @@ class OnClassCondition extends FilteringSpringBootCondition {
|
||||||
catch (InterruptedException ex) {
|
catch (InterruptedException ex) {
|
||||||
Thread.currentThread().interrupt();
|
Thread.currentThread().interrupt();
|
||||||
}
|
}
|
||||||
if (this.failure != null) {
|
Throwable failure = this.failure;
|
||||||
ReflectionUtils.rethrowRuntimeException(this.failure);
|
if (failure != null) {
|
||||||
|
ReflectionUtils.rethrowRuntimeException(failure);
|
||||||
}
|
}
|
||||||
return this.outcomes;
|
ConditionOutcome[] outcomes = this.outcomes;
|
||||||
|
return (outcomes != null) ? outcomes : new ConditionOutcome[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue