Commit f7faf0e1 authored by Fred Eisele's avatar Fred Eisele
Browse files

Corrected error in constraint loading

parent 0258a10a
......@@ -2066,7 +2066,7 @@ public class AqlLoaderListener extends AqlParserBaseListener {
final String schemaEntityId = x.schemaEntityId().getText();
return x.constraintGen().stream()
.map(y ->
new Pair<LocStr, String>(makeLocStr(x), schemaEntityId))
new Pair<LocStr, String>(makeLocStr(y), schemaEntityId))
.collect(Collectors.toList());
})
.flatMap(s -> s.stream())
......@@ -2078,7 +2078,7 @@ public class AqlLoaderListener extends AqlParserBaseListener {
final String schemaEntityId = x.schemaEntityId().getText();
return x.constraintGen().stream()
.map(y ->
new Pair<LocStr, String>(makeLocStr(x), schemaEntityId))
new Pair<LocStr, String>(makeLocStr(y), schemaEntityId))
.collect(Collectors.toList());
})
.flatMap(s -> s.stream())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment