goiri commented on code in PR #5880:
URL: https://github.com/apache/hadoop/pull/5880#discussion_r1284887290
##########
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestObserverReadProxyProvider.java:
##########
@@ -367,9 +366,9 @@ public void testGetHAServiceStateWithTimeout() throws
Exception {
setupProxyProvider(1, NAMENODE_HA_STATE_PROBE_TIMEOUT_SHORT);
final HAServiceState state = HAServiceState.STANDBY;
- NNProxyInfo<ClientProtocol> dummyNNProxyInfo =
+ @SuppressWarnings("unchecked") NNProxyInfo<ClientProtocol>
dummyNNProxyInfo =
Review Comment:
We usually put it in a separate line. Does that work here too?
--
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]