mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-01 08:18:43 +00:00
Moved a few variables closer to the point where they are actually used, but only in cases where this means moving them past a (potential) return/throw statement. (#1029)
This commit is contained in:
committed by
Rob Bygrave
parent
9e2923f571
commit
b4e2c89e2d
@@ -2176,12 +2176,13 @@ public class BeanDescriptor<T> implements MetaBeanInfo, BeanType<T> {
|
||||
if (basePos > -1) {
|
||||
// nested or embedded property
|
||||
String baseName = propName.substring(0, basePos);
|
||||
String remainder = propName.substring(basePos + 1);
|
||||
|
||||
BeanProperty assocProp = _findBeanProperty(baseName);
|
||||
if (assocProp == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
String remainder = propName.substring(basePos + 1);
|
||||
return assocProp.buildElPropertyValue(propName, remainder, chain, propertyDeploy);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user