forked from External/mage
Mostly code format fixes.
This commit is contained in:
parent
7cf4ca3cae
commit
f99cd21275
37 changed files with 226 additions and 189 deletions
|
|
@ -421,7 +421,7 @@ public class Session {
|
|||
Throwable t = cause;
|
||||
while (t.getCause() != null) {
|
||||
t = t.getCause();
|
||||
if (t == cause) {
|
||||
if (Objects.equals(t, cause)) {
|
||||
throw new IllegalArgumentException("Infinite cycle detected in causal chain");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue