fapifta commented on code in PR #10230:
URL: https://github.com/apache/ozone/pull/10230#discussion_r3217233025


##########
hadoop-hdds/client/dev-support/findbugsExcludeFile.xml:
##########
@@ -19,4 +19,13 @@
     <Class name="org.apache.hadoop.hdds.scm.storage.ByteArrayReader"></Class>
     <Bug pattern="EI_EXPOSE_REP2" /> <!-- "Deep copy byte[] has bad impact on 
performance" -->
   </Match>
+  <Match>
+    <!--
+    Required until we have https://github.com/spotbugs/spotbugs/pull/3410 
(SpotBugs 4.8)
+    FakeDatanodePipeline Line 
"doReturn(pipeline).when(xceiverClient).getPipeline();" (115 at time of this 
addition
+    is reported but is a false positive.

Review Comment:
   You are right, I wanted to preserve the same form of mock definition there, 
but all in all it is also ok if we mix it.
   Thank you for taking a look!



-- 
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]

Reply via email to