Fixed variable initialization
This commit is contained in:
parent
8b7aa5660a
commit
6dc26a43b8
|
@ -57,6 +57,7 @@ public class ModelKnowledge<T, TI extends TypeInformation<T>> {
|
|||
|
||||
this.trees = new HashMap<>();
|
||||
this.erTypesUsage = new HashMap<>();
|
||||
this.locate = new HashMap<>();
|
||||
|
||||
AccessType[] modelTypes = AccessType.getModelTypes();
|
||||
for(AccessType accessType : modelTypes) {
|
||||
|
@ -169,8 +170,6 @@ public class ModelKnowledge<T, TI extends TypeInformation<T>> {
|
|||
Tree<T> tree = trees.get(accessType);
|
||||
tree.addNode(t);
|
||||
|
||||
|
||||
|
||||
UsageKnowledge<LinkedEntity> resourceUsage = erTypesUsage.get(AccessType.RESOURCE);
|
||||
UsageKnowledge<LinkedEntity> facetUsage = erTypesUsage.get(AccessType.FACET);
|
||||
UsageKnowledge<LinkedEntity> isRelatedToUsage = erTypesUsage.get(AccessType.IS_RELATED_TO);
|
||||
|
|
Loading…
Reference in New Issue