Skip to content

Commit

Permalink
Fix using targetFile reference directly
Browse files Browse the repository at this point in the history
  • Loading branch information
laeubi committed Aug 4, 2024
1 parent b06cd5a commit f293355
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected void doUpdate() throws IOException, URISyntaxException, ParserConfigur
getLog().info("Update target file " + file);
//we use the descent xml parser here because we need to retain the formating of the original file
XMLParser parser = new XMLParser();
Document target = parser.parse(new XMLIOSource(targetFile));
Document target = parser.parse(new XMLIOSource(file));
boolean changed = false;
try (FileInputStream input = new FileInputStream(file)) {
TargetDefinitionFile parsedTarget = TargetDefinitionFile.read(file);
Expand Down

0 comments on commit f293355

Please sign in to comment.