[
https://issues.apache.org/jira/browse/GEODE-6718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Diane Hardman updated GEODE-6718:
---------------------------------
Fix Version/s: 1.10.0
> Refactor TcrConnection::sendRequestForChunkedResponse, derived class, and
> remove pass-through calls in TrcConnection and derived
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: GEODE-6718
> URL: https://issues.apache.org/jira/browse/GEODE-6718
> Project: Geode
> Issue Type: Improvement
> Components: native client
> Reporter: Blake Bender
> Priority: Major
> Fix For: 1.10.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> This is a small thing we can do to make the code more readable and
> maintainable. TcrEndpoint only has one derived class, TcrPoolEndPoint, and
> the method sendRequestForChunkedResponse in both is simply a pass-through to
> call TcrConnection::sendRequestForChunkedResponse. None of the parameters to
> the TcrConnection call are unknown to calling code, so nothing at all is
> being abstracted by having these methods on Tcr*Endpoint. Additionally, the
> base class is abstract, so the implementation in TcrEndpoint is unreachable
> code, and even though the method is virtual it is declared protected, so
> nothing outside Tcr*Endpoint could possibly care about it. In short, the
> method is gratuitous and removing it will clarify the code.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)