Fix style check

This commit is contained in:
Anton Tananaev 2020-02-22 17:43:09 -08:00
parent 8d6e45331c
commit 43abeeb1da
2 changed files with 6 additions and 1 deletions

View File

@ -5,6 +5,8 @@
<module name="Checker">
<module name="SuppressWarningsFilter"/>
<module name="SuppressionSingleFilter">
<property name="files" value="[/\\]protobuf[/\\]"/>
<property name="checks" value=".*"/>
@ -51,6 +53,8 @@
<module name="TreeWalker">
<module name="SuppressWarningsHolder"/>
<!-- Checks for Naming Conventions. -->
<!-- See http://checkstyle.sf.net/config_naming.html -->
<module name="ConstantName"/>

View File

@ -84,7 +84,8 @@ public class HealthCheckService {
}
interface SystemD extends Library {
int sd_notify(int unset_environment, String state);
@SuppressWarnings("checkstyle:MethodName")
int sd_notify(@SuppressWarnings("checkstyle:ParameterName") int unset_environment, String state);
}
}