[bisq-network/bisq] Fix issue writing json file to disk (#2661)

Manfred Karrer notifications at github.com
Sat Apr 6 18:17:38 UTC 2019


ManfredKarrer commented on this pull request.

NACK

> @@ -78,6 +78,7 @@ public void writeToDisc(String json, String fileName) {
 
                 printWriter = new PrintWriter(tempFile);
                 printWriter.println(json);
+                printWriter.close();

It is in the finally statement:
```
if (printWriter != null)
                    printWriter.close();
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/2661#pullrequestreview-223551146
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190406/db98c898/attachment.html>


More information about the bisq-github mailing list