Don't generate snapshots when scanning structure definitions for resource names
This commit is contained in:
parent
0642e123a1
commit
3a27e012be
|
@ -377,10 +377,9 @@ public class ContextUtilities implements ProfileKnowledgeProvider {
|
|||
public Set<String> getConcreteResourceSet() {
|
||||
if (concreteResourceNameSet == null) {
|
||||
concreteResourceNameSet = new HashSet<>();
|
||||
Set<String> names = new HashSet<>();
|
||||
for (StructureDefinition sd : allStructures()) {
|
||||
if (sd.getKind() == StructureDefinitionKind.RESOURCE && !sd.getAbstract()) {
|
||||
names.add(sd.getType());
|
||||
for (StructureDefinition sd : getStructures()) {
|
||||
if (sd.getKind() == StructureDefinitionKind.RESOURCE && !sd.getAbstract() && sd.getDerivation() == TypeDerivationRule.SPECIALIZATION) {
|
||||
concreteResourceNameSet.add(sd.getType());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue