Skip to content

Commit

Permalink
Bug 582462 Character encodings for output and input files
Browse files Browse the repository at this point in the history
Fix typo in code to use proper write.

Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=582260
Change-Id: I27904b4ae9c4f1f65720bf59979c0c3082843bfc
  • Loading branch information
ajohnson1 committed Sep 28, 2023
1 parent 18b04a9 commit 5699fe4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ protected IStatus run(IProgressMonitor monitor)
}
try (FileOutputStream fos = new FileOutputStream(fileName);
Writer w = new OutputStreamWriter(fos, cs);
PrintWriter writer = new PrintWriter(fos))
PrintWriter writer = new PrintWriter(w))
{
outputter.process(new ContextImpl(queryContext, //
new File(fileName).getParentFile()), result, writer);
Expand Down

0 comments on commit 5699fe4

Please sign in to comment.