You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.debug("Query for " + entity + " in hierarchy, but the entity is not contained in the (downward) hierarchy, e.g. because the entity does not exist or is ignored. Returning empty result instead.");
84
+
logger.debug("Query for " + entity + " in hierarchy, but the entity is not contained in the (downward)" +
85
+
" hierarchy, e.g. because the entity does not exist or is ignored. Returning empty result instead.");
85
86
returnnewTreeSet<>();
86
87
}
87
-
88
+
89
+
// create new set because we'll modify the set
90
+
result = newTreeSet<>(result);
91
+
92
+
// depending on the reasoner implementation, the entity itself is trivially contained, so remove it here
logger.debug("Query for " + entity + " in hierarchy, but the entity is not contained in the (upward) hierarchy, e.g. because the entity does not exist or is ignored. Returning empty result instead.");
122
+
logger.debug("Query for " + entity + " in hierarchy, but the entity is not contained in the (upward) " +
123
+
"hierarchy, e.g. because the entity does not exist or is ignored. Returning empty result instead.");
116
124
returnnewTreeSet<>();
117
125
}
118
-
126
+
127
+
// create new set because we'll modify the set
128
+
result = newTreeSet<>(result);
129
+
130
+
// depending on the reasoner implementation, the entity itself is trivially contained, so remove it here
0 commit comments