Skip to content

Commit

Permalink
Fix style check
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Feb 23, 2020
1 parent 8d6e453 commit 43abeeb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions gradle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

<module name="Checker">

<module name="SuppressWarningsFilter"/>

<module name="SuppressionSingleFilter">
<property name="files" value="[/\\]protobuf[/\\]"/>
<property name="checks" value=".*"/>
Expand Down Expand Up @@ -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"/>
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/traccar/api/HealthCheckService.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ public void run() {
}

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);
}

}

0 comments on commit 43abeeb

Please sign in to comment.