Make sure writer is closed so we don't leak file handles
git-svn-id: http://google-refine.googlecode.com/svn/trunk@2319 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
16421303cb
commit
d4ec9f3279
@ -145,6 +145,7 @@ abstract public class GDataExtension {
|
|||||||
new OutputStreamWriter(request.getRequestStream());
|
new OutputStreamWriter(request.getRequestStream());
|
||||||
writer.append("sql=" + URLEncoder.encode(query, "UTF-8"));
|
writer.append("sql=" + URLEncoder.encode(query, "UTF-8"));
|
||||||
writer.flush();
|
writer.flush();
|
||||||
|
writer.close();
|
||||||
|
|
||||||
return request;
|
return request;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user