Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed too early release of connection, which may cause trouble when…

… the output is not buffered yet
  • Loading branch information...
commit cf7734f3d8a71dc827d3f7797e2e4b008b094507 1 parent d0d73a6
@egonw egonw authored
View
2  plugins/net.bioclipse.opentox/src/net/bioclipse/opentox/api/Dataset.java
@@ -65,7 +65,7 @@
HttpMethod method = new GetMethod(service + "dataset");
method.setRequestHeader("Accept", "text/uri-list");
client.executeMethod(method);
- method.releaseConnection();
+
List<String> datasets = new ArrayList<String>();
BufferedReader reader = new BufferedReader(
new StringReader(method.getResponseBodyAsString())
Please sign in to comment.
Something went wrong with that request. Please try again.