smengcl commented on code in PR #6947:
URL: https://github.com/apache/ozone/pull/6947#discussion_r1679893686
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/helpers/ContainerMetrics.java:
##########
@@ -111,10 +111,10 @@ public void incContainerOpsMetrics(ContainerProtos.Type
type) {
}
public void incContainerOpsLatencies(ContainerProtos.Type type,
- long latencyMillis) {
Review Comment:
```diff
diff --git a/hadoop-hdds/dev-support/checkstyle/checkstyle.xml
b/hadoop-hdds/dev-support/checkstyle/checkstyle.xml
index 3a69c793c26..487136de543 100644
--- a/hadoop-hdds/dev-support/checkstyle/checkstyle.xml
+++ b/hadoop-hdds/dev-support/checkstyle/checkstyle.xml
@@ -204,6 +204,7 @@
<module name="Indentation">
<property name="basicOffset" value="2" />
<property name="caseIndent" value="0" />
+ <property name="forceStrictCondition" value="true"/>
</module>
<!--<module name="TodoComment"/>-->
<module name="UpperEll"/>
```
--
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]