-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51567/
-----------------------------------------------------------
Review request for geode and Dan Smith.
Bugs: GEODE-1833
https://issues.apache.org/jira/browse/GEODE-1833
Repository: geode
Description
-------
The code called sender.getServerLocation() every time.
If we only check if it's null once, then we should save the reference,
otherwise, we have to check the null after each call of
sender.getServerLocation().
Diffs
-----
geode-wan/src/main/java/com/gemstone/gemfire/internal/cache/wan/GatewaySenderEventRemoteDispatcher.java
2625ad2
Diff: https://reviews.apache.org/r/51567/diff/
Testing
-------
Thanks,
xiaojian zhou