jira-importer opened a new issue, #1518:
URL: https://github.com/apache/httpcomponents-core/issues/1518

   
**[Sebb](https://issues.apache.org/jira/secure/[email protected])**
 opened 
**[HTTPCORE-363](https://issues.apache.org/jira/browse/HTTPCORE-363?redirect=false)**
 and commented
   
   There are some instances of the following code:
   
   final Channel channel = this.key.channel();
   if (channel.isOpen()) {
   try {
   channel.close();
   } catch (final IOException ignore) {}
   }
   
   Eclipse generates a warning that the channel might not be closed.
   Obviously that is a false positive, but why bother checking the state?
   Surely channel.close() can be repeated without harm?
   
   
   ---
   No further details from 
[HTTPCORE-363](https://issues.apache.org/jira/browse/HTTPCORE-363?redirect=false)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to