[jOOQ/jOOQ#14985] Fixed wrong pattern matching backport
This commit is contained in:
parent
caa3dca7db
commit
1de1dfcb86
@ -307,11 +307,12 @@ implements
|
||||
*/
|
||||
@Nullable
|
||||
final Table<?> pathRoot() {
|
||||
if (path instanceof TableImpl<?> t)
|
||||
if (path instanceof TableImpl<?> t) {
|
||||
if (t.path != null)
|
||||
return t.pathRoot();
|
||||
else
|
||||
return t;
|
||||
}
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user