mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - Code cleanup, simplified if
This commit is contained in:
1 parent
88340618af
commit
adef15ce2b
14 files changed
+19
-79
No files matched your search
@@ -23,11 +23,7 @@ public class AddForeignKeysVisitor extends AbstractBeanVisitor {
|
||||
}
|
||||
|
||||
public boolean visitBean(BeanDescriptor<?> descriptor) {
|
||||
if (!descriptor.isInheritanceRoot()) {
|
||||
// ignore/skip if not a top level BeanDescriptor
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return descriptor.isInheritanceRoot();
|
||||
}
|
||||
|
||||
public void visitBeanEnd(BeanDescriptor<?> descriptor) {
|
||||
|
||||
Reference in new issue
Block a user