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