[checkstyle] optimize java code checkstyle for EmptyStatement rule (#1373)

This commit is contained in:
lamber-ken 2019-12-02 23:20:58 +08:00 committed by dailidong
parent da88597717
commit 2dc5a732eb
2 changed files with 4 additions and 2 deletions

View File

@ -55,7 +55,7 @@ public class GanttDto {
this();
this.height = height;
this.tasks = tasks;
this.taskNames = taskNames;;
this.taskNames = taskNames;
}
public GanttDto(int height, List<Task> tasks, List<String> taskNames, Map<String, String> taskStatus) {
this.height = height;

View File

@ -229,7 +229,9 @@
<property name="illegalClasses" value="java.util.Optional, com.google.common.base.Optional"/>
</module>
<module name="EmptyStatement"/>
<module name="EmptyStatement">
<property name="severity" value="error"/>
</module>
<module name="JavadocStyle"/>