Github user poornachandra commented on a diff in the pull request:
    --- Diff: 
    @@ -177,11 +173,23 @@ public void close() throws IOException {
         } catch (IOException e) {
           try {
    +        conn.close();
           } catch (IOException ex) {
           throw e;
    +    conn.close();
    +  }
    +  protected void finalize() throws Throwable {
    --- End diff --
    We try not to rely on `finalize()` since there is no guarantee when it will 
be called. Also since we are closing the connection in the `close()` method, 
there is no need for finalize. Let's remove this method.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to