fornwall / eclipsescript

Eclipse plugin for scripting using javascript
https://fornwall.github.io/eclipsescript/
29 stars 5 forks source link

Resource leak #18

Closed dscho closed 11 years ago

dscho commented 11 years ago

Apart from whitespace fixes and a compiler warning regarding a raw type, this also fixes a warning regarding a resource leak: readAllToStringAndClose() might close the stream in its current form, but the Java compiler cannot rely on that because the method might change in the future.