The following document contains the results of Checkstyle 6.11.2 with build-config/lutece_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | NeedBraces | 3 | Error |
coding | ArrayTrailingComma | 1 | Error |
DeclarationOrder | 1 | Error | |
header | Header
|
3 | Error |
imports | UnusedImports | 4 | Error |
javadoc | JavadocMethod | 3 | Error |
whitespace | ParenPad
|
2 | Error |
WhitespaceAround
|
9 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | UnusedImports | Unused import - javax.validation.constraints.Min. | 37 |
Error | imports | UnusedImports | Unused import - javax.validation.constraints.NotNull. | 38 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strMsg'. | 67 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2019, Mairie de Paris'. | 2 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 75 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 75 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 103 |
Error | whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 105 |
Error | whitespace | WhitespaceAround | '==' is not followed by whitespace. | 105 |
Error | whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 106 |
Error | whitespace | WhitespaceAround | '==' is not followed by whitespace. | 106 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | UnusedImports | Unused import - java.util.List. | 36 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | UnusedImports | Unused import - fr.paris.lutece.util.ReferenceList. | 44 |
Error | javadoc | JavadocMethod | Expected @param tag for 'reply'. | 79 |
Error | javadoc | JavadocMethod | Expected @param tag for 'reply'. | 87 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2019, Mairie de Paris'. | 2 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 73 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 73 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 73 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 73 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 62 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 78 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2019, Mairie de Paris'. | 2 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 123 |
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 129 |
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 162 |