Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

Commit

Permalink
Typo for 42fabf7 corrected.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianonline committed Sep 21, 2016
1 parent 45adc77 commit 89073d1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import java.nio.charset.Charset;
import java.io.FileWriter;
import java.io.IOException;
import java.io.FileNotFoundException;
import java.net.URL;
import org.apache.commons.io.FileUtils;
import java.util.LinkedList;
Expand Down Expand Up @@ -140,7 +141,7 @@ public void export(UserManager user) {
}
}

private OutputStreamWriter getWriter(String filename) {
private OutputStreamWriter getWriter(String filename) throws FileNotFoundException {
logger.trace("Creating writer for file {}", filename);
return new OutputStreamWriter(new FileOutputStream(filename), Charset.forName("UTF-8").newEncoder());
}
Expand Down

0 comments on commit 89073d1

Please sign in to comment.