mirror of
https://github.com/traccar/traccar.git
synced 2025-01-09 04:07:38 +08:00
Fix style check
This commit is contained in:
parent
8d6e45331c
commit
43abeeb1da
@ -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"/>
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user