mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-08 08:20:28 +03:00
Merge commit 'refs/merge-requests/11' of git://gitorious.org/f-droid/fdroidserver
This commit is contained in:
commit
797596c4a6
6 changed files with 21 additions and 11 deletions
|
|
@ -103,10 +103,13 @@ class test {
|
|||
|
||||
if (changed) {
|
||||
System.out.println("..updating");
|
||||
File of = new File(filespec);
|
||||
BufferedWriter wi = new BufferedWriter(new FileWriter(of));
|
||||
FileOutputStream fo = new FileOutputStream(filespec);
|
||||
OutputStreamWriter osr = new OutputStreamWriter(fo, "UTF-8");
|
||||
BufferedWriter wi = new BufferedWriter(osr);
|
||||
wi.write(output.toString());
|
||||
wi.close();
|
||||
osr.close();
|
||||
fo.close();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue