Hi

Eclipse complains about a lot places in the source code., e.g.
"Resource leak: 'fmt' is never closed    SyntaxException.java
/mkgmap/src/uk/me/parabola/mkgmap/scan    line 45    Java Problem"

The code looks like this:

     public String getMessage() {
         Formatter fmt = new Formatter();

In this case it writes to a StringBuilder. This is not even a
Closable, so the close() method of Formatter does nothing
in this case.

So nothing is being leaked.

..Steve
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to