Fixed variable initialization

This commit is contained in:
luca.frosini 2023-10-30 15:55:17 +01:00
parent 8b7aa5660a
commit 6dc26a43b8
1 changed files with 1 additions and 2 deletions

View File

@ -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);