Skip to content

Commit

Permalink
[#259] Replace HashMap to LinkedHashMap to have insertion order
Browse files Browse the repository at this point in the history
  • Loading branch information
palagdan authored and blcham committed Aug 15, 2024
1 parent 1bf35f4 commit beacc92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ private void checkConstraints(Model model, QuerySolution bindings, List<Resource

for(int i = 0; i < ExecutionConfig.getEvidenceNumber() && rs.hasNext(); i++){
QuerySolution solution = rs.next() ;
Map<String, String> evidenceMap = new HashMap<>();
Map<String, String> evidenceMap = new LinkedHashMap<>();
for (Iterator<String> it = solution.varNames(); it.hasNext(); ) {
String varName = it.next();
RDFNode value = solution.get(varName);
Expand Down

0 comments on commit beacc92

Please sign in to comment.