Sebb created HTTPCORE-364:
-----------------------------

             Summary: IOSessionImpl.getLocalAddress() creates unnecessary copy 
of channel
                 Key: HTTPCORE-364
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-364
             Project: HttpComponents HttpCore
          Issue Type: Improvement
            Reporter: Sebb
            Priority: Minor


IOSessionImpl.getLocalAddress() copies the final field channel into a local 
variable also called channel. This seems completely unnecessary; the statement 
could be dropped. (If channel were mutablle, the statement would make sense).

Similarly for getRemoteAddress()



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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

Reply via email to