Checkstyle Results
The following document contains the results of Checkstyle.
Files
Rules
Rules | Violations | Severity |
---|---|---|
ConstantName
| 1 | Error |
LocalVariableName | 0 | Error |
MethodName
| 0 | Error |
PackageName | 0 | Error |
LocalFinalVariableName | 0 | Error |
ParameterName | 3 | Error |
StaticVariableName | 0 | Error |
TypeName
| 0 | Error |
Header
| 13 | Error |
AvoidStarImport | 0 | Error |
IllegalImport | 0 | Error |
RedundantImport | 0 | Error |
UnusedImports | 4 | Error |
FileLength | 0 | Error |
LineLength
| 13 | Error |
MethodLength
| 0 | Error |
ParameterNumber
| 0 | Error |
TabCharacter | 0 | Error |
NeedBraces | 73 | Error |
LeftCurly
| 71 | Error |
RightCurly
| 2 | 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/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/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 | |
'if' construct must use '{}'s. | 62 | |
'{' 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 | |
'if' construct must use '{}'s. | 105 | |
'{' should be on a new line. | 114 | |
'{' should be on a new line. | 122 | |
'{' should be on a new line. | 130 | |
'{' should be on a new line. | 137 | |
'{' should be on a new line. | 141 | |
'{' should be on a new line. | 152 | |
'}' should be alone on a line. | 158 | |
'{' should be on a new line. | 158 | |
'if' construct must use '{}'s. | 173 | |
'if' construct must use '{}'s. | 187 | |
'if' construct must use '{}'s. | 263 | |
'if' construct must use '{}'s. | 299 | |
'if' construct must use '{}'s. | 300 | |
Line is longer than 120 characters. | 321 |
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. | 36 | |
'{' should be on a new line. | 42 | |
'{' should be on a new line. | 56 | |
'if' construct must use '{}'s. | 62 | |
'if' construct must use '{}'s. | 67 |
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/_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. | 28 | |
'{' should be on a new line. | 30 | |
'{' 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]+)*))$'. | 52 | |
'{' should be on a new line. | 54 | |
'{' should be on a new line. | 59 | |
'{' should be on a new line. | 60 | |
'{' should be on a new line. | 63 | |
'{' should be on a new line. | 65 |