Beymamat / cuckoochess

Automatically exported from code.google.com/p/cuckoochess
0 stars 0 forks source link

WARNING: raf in TreeLogger.java is not closed #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I import the engine to Eclipse and it warns that raf in TreeLogger.java is not 
closed.

You should add a "finally" like this:
finally {
    try { if (raf != null) raf.close(); } catch (IOException e) {}
}

Original issue reported on code.google.com by ngocdaot...@gmail.com on 19 Jun 2014 at 3:47