eolivelli commented on a change in pull request #910: ZOOKEEPER-3364 Compile
with strict options in order to check code quality
URL: https://github.com/apache/zookeeper/pull/910#discussion_r281816960
##########
File path:
zookeeper-server/src/test/java/org/apache/zookeeper/test/ReconfigTest.java
##########
@@ -997,7 +997,7 @@ public void testJMXBeanAfterRoleChange() throws Exception {
int changingIndex = 1;
int replica2 = 2;
QuorumPeer peer2 = qu.getPeer(replica2).peer;
- QuorumServer changingQS2 = peer2.getView().get(new
Long(changingIndex));
Review comment:
this is deprecated on JDK10+ and the build fails on Travis
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services