Checkstyle Results
The following document contains the results of Checkstyle.
Files
Rules
Rules | Violations | Severity |
---|---|---|
ConstantName
| 2 | Error |
LocalVariableName | 0 | Error |
MethodName
| 0 | Error |
PackageName | 0 | Error |
LocalFinalVariableName | 0 | Error |
ParameterName | 3 | Error |
StaticVariableName | 0 | Error |
TypeName
| 0 | Error |
Header
| 18 | Error |
AvoidStarImport | 0 | Error |
IllegalImport | 0 | Error |
RedundantImport | 0 | Error |
UnusedImports | 5 | Error |
FileLength | 0 | Error |
LineLength
| 13 | Error |
MethodLength
| 0 | Error |
ParameterNumber
| 0 | Error |
TabCharacter | 0 | Error |
NeedBraces | 72 | Error |
LeftCurly
| 83 | Error |
RightCurly
| 5 | Error |
DoubleCheckedLocking | 0 | Error |
EmptyStatement | 0 | Error |
EqualsHashCode | 0 | Error |
InnerAssignment | 0 | Error |
DefaultComesLast | 0 | Error |
MissingSwitchDefault | 0 | Error |
FallThrough | 0 | Error |
MultipleVariableDeclarations | 0 | Error |
UpperEll | 0 | Error |
Details
org/apache/myfaces/commons/validator/AbstractCSVValidator.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
'{' should be on a new line. | 46 | |
Line is longer than 120 characters. | 56 | |
'{' should be on a new line. | 84 | |
'if' construct must use '{}'s. | 85 | |
'{' should be on a new line. | 89 | |
'{' should be on a new line. | 93 | |
'if' construct must use '{}'s. | 101 | |
'if' construct must use '{}'s. | 103 | |
'if' construct must use '{}'s. | 106 | |
'else' construct must use '{}'s. | 108 | |
'if' construct must use '{}'s. | 111 | |
'else' construct must use '{}'s. | 113 | |
'{' should be on a new line. | 118 | |
'if' construct must use '{}'s. | 120 | |
'if' construct must use '{}'s. | 121 | |
'if' construct must use '{}'s. | 129 | |
'{' should be on a new line. | 133 | |
Line is longer than 120 characters. | 135 | |
'if' construct must use '{}'s. | 138 | |
'{' should be on a new line. | 141 | |
'{' should be on a new line. | 144 | |
Line is longer than 120 characters. | 146 | |
'{' should be on a new line. | 150 | |
'{' should be on a new line. | 151 | |
'else' construct must use '{}'s. | 154 | |
'{' should be on a new line. | 154 | |
'{' should be on a new line. | 157 | |
'if' construct must use '{}'s. | 161 |
org/apache/myfaces/commons/validator/AbstractCompareToValidator.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
Line is longer than 120 characters. | 102 | |
'{' should be on a new line. | 114 | |
'{' should be on a new line. | 126 | |
'if' construct must use '{}'s. | 148 | |
'if' construct must use '{}'s. | 150 | |
'if' construct must use '{}'s. | 152 | |
'if' construct must use '{}'s. | 154 | |
'if' construct must use '{}'s. | 156 | |
'if' construct must use '{}'s. | 158 | |
'if' construct must use '{}'s. | 161 | |
'if' construct must use '{}'s. | 163 | |
'if' construct must use '{}'s. | 165 | |
'if' construct must use '{}'s. | 167 | |
'if' construct must use '{}'s. | 169 | |
'if' construct must use '{}'s. | 171 | |
'if' construct must use '{}'s. | 174 | |
'if' construct must use '{}'s. | 182 | |
'if' construct must use '{}'s. | 184 | |
'if' construct must use '{}'s. | 186 | |
'if' construct must use '{}'s. | 188 | |
'if' construct must use '{}'s. | 190 | |
'if' construct must use '{}'s. | 192 | |
'if' construct must use '{}'s. | 200 | |
'if' construct must use '{}'s. | 202 | |
'if' construct must use '{}'s. | 204 | |
'if' construct must use '{}'s. | 206 | |
'if' construct must use '{}'s. | 208 | |
'if' construct must use '{}'s. | 210 | |
'{' should be on a new line. | 220 | |
'if' construct must use '{}'s. | 222 | |
'if' construct must use '{}'s. | 223 | |
'if' construct must use '{}'s. | 234 | |
Line is longer than 120 characters. | 235 | |
'if' construct must use '{}'s. | 237 | |
Line is longer than 120 characters. | 238 | |
'{' should be on a new line. | 241 | |
'if' construct must use '{}'s. | 288 | |
Line is longer than 120 characters. | 316 | |
Line is longer than 120 characters. | 322 | |
'if' construct must use '{}'s. | 332 | |
'else' construct must use '{}'s. | 334 | |
'if' construct must use '{}'s. | 341 | |
Line is longer than 120 characters. | 367 | |
'if' construct must use '{}'s. | 401 | |
'if' construct must use '{}'s. | 403 | |
Line is longer than 120 characters. | 410 | |
'if' construct must use '{}'s. | 422 | |
'if' construct must use '{}'s. | 426 | |
'if' construct must use '{}'s. | 429 | |
'if' construct must use '{}'s. | 431 | |
'if' construct must use '{}'s. | 432 | |
'}' should be alone on a line. | 482 | |
'{' should be on a new line. | 482 |
org/apache/myfaces/commons/validator/AbstractCreditCardValidator.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
Unused import - javax.faces.application.FacesMessage. | 21 | |
'{' should be on a new line. | 43 | |
'{' should be on a new line. | 56 | |
'{' should be on a new line. | 71 | |
'if' construct must use '{}'s. | 73 | |
'if' construct must use '{}'s. | 74 | |
'{' should be on a new line. | 81 | |
'{' should be on a new line. | 94 | |
'{' should be on a new line. | 95 | |
Line is longer than 120 characters. | 97 | |
'{' should be on a new line. | 99 | |
'{' should be on a new line. | 108 | |
'{' should be on a new line. | 109 | |
'{' should be on a new line. | 112 | |
'{' should be on a new line. | 115 | |
'{' should be on a new line. | 118 |
org/apache/myfaces/commons/validator/AbstractDateRestrictionValidator.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
Unused import - javax.faces.validator.Validator. | 35 | |
Line is longer than 120 characters. | 87 |
org/apache/myfaces/commons/validator/AbstractRegExprValidator.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
Unused import - javax.faces.application.FacesMessage. | 21 | |
'{' should be on a new line. | 44 | |
'{' should be on a new line. | 56 | |
'{' should be on a new line. | 63 | |
'if' construct must use '{}'s. | 65 | |
'if' construct must use '{}'s. | 66 | |
'{' should be on a new line. | 82 |
org/apache/myfaces/commons/validator/AbstractUrlValidator.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
Unused import - javax.faces.application.FacesMessage. | 22 | |
'{' should be on a new line. | 43 | |
'{' should be on a new line. | 55 | |
'{' should be on a new line. | 67 | |
'if' construct must use '{}'s. | 70 | |
'if' construct must use '{}'s. | 71 | |
'{' should be on a new line. | 80 | |
'{' should be on a new line. | 103 | |
'{' should be on a new line. | 115 | |
Name '_schemes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 130 | |
Name '_allow2Slashes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 143 | |
Name '_allowAllSchemas' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 154 |
org/apache/myfaces/commons/validator/EmailValidator.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
Unused import - javax.faces.application.FacesMessage. | 21 | |
'{' should be on a new line. | 43 | |
'{' should be on a new line. | 55 | |
'{' should be on a new line. | 66 | |
'if' construct must use '{}'s. | 69 | |
'if' construct must use '{}'s. | 70 | |
'{' should be on a new line. | 76 |
org/apache/myfaces/commons/validator/ISBNValidator.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
'{' should be on a new line. | 40 | |
'{' should be on a new line. | 57 | |
'{' should be on a new line. | 69 | |
'if' construct must use '{}'s. | 72 | |
'if' construct must use '{}'s. | 73 | |
'{' should be on a new line. | 80 | |
'if' construct must use '{}'s. | 83 |
org/apache/myfaces/commons/validator/ValidateDateRestrictionTagHandler.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 |
org/apache/myfaces/commons/validator/ValidatorBase.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
'{' should be on a new line. | 48 | |
'{' should be on a new line. | 71 | |
'{' should be on a new line. | 83 | |
'{' should be on a new line. | 92 | |
'{' should be on a new line. | 104 | |
'{' should be on a new line. | 112 | |
'{' should be on a new line. | 143 | |
'{' should be on a new line. | 147 | |
'{' should be on a new line. | 158 | |
'}' should be alone on a line. | 164 | |
'{' should be on a new line. | 164 | |
'if' construct must use '{}'s. | 178 | |
'if' construct must use '{}'s. | 197 | |
'{' should be on a new line. | 198 | |
'}' should be alone on a line. | 200 | |
'{' should be on a new line. | 200 | |
'if' construct must use '{}'s. | 237 | |
'if' construct must use '{}'s. | 277 | |
'if' construct must use '{}'s. | 279 | |
'{' should be on a new line. | 346 | |
'{' should be on a new line. | 356 | |
'{' should be on a new line. | 357 | |
'{' should be on a new line. | 360 |
org/apache/myfaces/commons/validator/ValidatorBaseTag.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
'{' should be on a new line. | 35 | |
'{' should be on a new line. | 41 | |
'{' should be on a new line. | 55 | |
'if' construct must use '{}'s. | 61 | |
'if' construct must use '{}'s. | 66 |
org/apache/myfaces/commons/validator/ValidatorBaseTagHandler.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 |
org/apache/myfaces/commons/validator/_AttachedListStateWrapper.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 |
org/apache/myfaces/commons/validator/_AttachedStateWrapper.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
Line is longer than 120 characters. | 42 |
org/apache/myfaces/commons/validator/_DateRestrictionRule.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
'{' should be on a new line. | 36 | |
'{' should be on a new line. | 49 | |
'{' should be on a new line. | 63 | |
'{' should be on a new line. | 71 | |
'}' should be alone on a line. | 73 | |
'{' should be on a new line. | 73 | |
'}' should be alone on a line. | 75 | |
'{' should be on a new line. | 75 | |
Name 'Instance' must match pattern '^_?((log)|([a-z][a-zA-Z]*ThreadLocal)|([A-Z][A-Z0-9]*(_[A-Z0-9]+)*))$'. | 93 | |
'{' should be on a new line. | 104 | |
'{' should be on a new line. | 110 |
org/apache/myfaces/commons/validator/_DeltaStateHelper.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
'if' construct must use '{}'s. | 596 |
org/apache/myfaces/commons/validator/_ValidatorRule.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
'{' should be on a new line. | 27 | |
'{' should be on a new line. | 29 | |
'{' should be on a new line. | 38 | |
'{' should be on a new line. | 44 | |
Name 'Instance' must match pattern '^_?((log)|([a-z][a-zA-Z]*ThreadLocal)|([A-Z][A-Z0-9]*(_[A-Z0-9]+)*))$'. | 74 | |
'{' should be on a new line. | 76 | |
'{' should be on a new line. | 81 | |
'{' should be on a new line. | 82 | |
'{' should be on a new line. | 85 | |
'{' should be on a new line. | 87 |
org/apache/myfaces/commons/validator/model/DateListProvider.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 |