fix bug
This commit is contained in:
parent
459ce57793
commit
975abb32f1
|
@ -973,8 +973,10 @@ public class NarrativeGenerator implements INarrativeGenerator {
|
||||||
@Override
|
@Override
|
||||||
public List<PropertyWrapper> children() {
|
public List<PropertyWrapper> children() {
|
||||||
List<PropertyWrapper> list = new ArrayList<PropertyWrapper>();
|
List<PropertyWrapper> list = new ArrayList<PropertyWrapper>();
|
||||||
|
if (wrapped.children() != null) {
|
||||||
for (Property c : wrapped.children())
|
for (Property c : wrapped.children())
|
||||||
list.add(new PropertyWrapperDirect(c));
|
list.add(new PropertyWrapperDirect(c));
|
||||||
|
}
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue