Skip to content

Commit

Permalink
Rename variable for consistence with the block above
Browse files Browse the repository at this point in the history
Fixes: OX-11723
  • Loading branch information
idlira committed Dec 5, 2024
1 parent a446b7a commit 4570815
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/sirius/biz/jobs/batch/file/XMLImportJob.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@ public void process(StructuredNode node) {
}
});
} else {
reader.addHandler(name, structuredNode -> {
AfterNodeLoadEvent event = new AfterNodeLoadEvent(structuredNode, importer.getContext());
reader.addHandler(name, node -> {
AfterNodeLoadEvent event = new AfterNodeLoadEvent(node, importer.getContext());
importer.getContext().getEventDispatcher().handleEvent(event);
originalHandler.process(structuredNode);
originalHandler.process(node);
});
}
});
Expand Down

0 comments on commit 4570815

Please sign in to comment.