mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-0: Fix tests: Issue in schema search.
This commit is contained in:
parent
0565d03e69
commit
272a8674ee
1 changed files with 2 additions and 2 deletions
|
@ -641,13 +641,13 @@ public interface TargetObjectSchema {
|
||||||
for (Entry<String, AttributeSchema> ent : sch.getAttributeSchemas().entrySet()) {
|
for (Entry<String, AttributeSchema> ent : sch.getAttributeSchemas().entrySet()) {
|
||||||
List<String> extended = PathUtils.extend(prefix, ent.getKey());
|
List<String> extended = PathUtils.extend(prefix, ent.getKey());
|
||||||
TargetObjectSchema attrSchema = ctx.getSchema(ent.getValue().getSchema());
|
TargetObjectSchema attrSchema = ctx.getSchema(ent.getValue().getSchema());
|
||||||
searchFor(attrSchema, result, extended, parentIsCanonical, type, requireAggregate,
|
searchFor(attrSchema, result, extended, isCanonical, type, requireAggregate,
|
||||||
requireCanonical, visited);
|
requireCanonical, visited);
|
||||||
}
|
}
|
||||||
List<String> daExtended = PathUtils.extend(prefix, "");
|
List<String> daExtended = PathUtils.extend(prefix, "");
|
||||||
TargetObjectSchema daSchema =
|
TargetObjectSchema daSchema =
|
||||||
ctx.getSchema(sch.getDefaultAttributeSchema().getSchema());
|
ctx.getSchema(sch.getDefaultAttributeSchema().getSchema());
|
||||||
searchFor(daSchema, result, daExtended, parentIsCanonical, type, requireAggregate,
|
searchFor(daSchema, result, daExtended, isCanonical, type, requireAggregate,
|
||||||
requireCanonical, visited);
|
requireCanonical, visited);
|
||||||
|
|
||||||
visited.remove(sch);
|
visited.remove(sch);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue