Skip to content

Commit

Permalink
Fix using targetFile reference directly
Browse files Browse the repository at this point in the history
(cherry picked from commit f293355)
  • Loading branch information
laeubi authored and eclipse-tycho-bot committed Aug 4, 2024
1 parent 082dd0e commit 86d7571
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 86d7571

Please sign in to comment.