1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-11-23 01:06:17 +00:00

Typo for 42fabf7 corrected.

This commit is contained in:
Fabian Schlenz 2016-09-21 21:12:08 +02:00
parent 45adc77d5e
commit 89073d128a

View File

@ -26,6 +26,7 @@ import java.io.FileOutputStream;
import java.nio.charset.Charset; import java.nio.charset.Charset;
import java.io.FileWriter; import java.io.FileWriter;
import java.io.IOException; import java.io.IOException;
import java.io.FileNotFoundException;
import java.net.URL; import java.net.URL;
import org.apache.commons.io.FileUtils; import org.apache.commons.io.FileUtils;
import java.util.LinkedList; import java.util.LinkedList;
@ -140,7 +141,7 @@ public class HTMLExporter {
} }
} }
private OutputStreamWriter getWriter(String filename) { private OutputStreamWriter getWriter(String filename) throws FileNotFoundException {
logger.trace("Creating writer for file {}", filename); logger.trace("Creating writer for file {}", filename);
return new OutputStreamWriter(new FileOutputStream(filename), Charset.forName("UTF-8").newEncoder()); return new OutputStreamWriter(new FileOutputStream(filename), Charset.forName("UTF-8").newEncoder());
} }