Checkstyle Results
The following document contains the results of Checkstyle.
Files
Rules
Rules | Violations | Severity |
---|---|---|
ConstantName
| 0 | Error |
LocalVariableName | 3 | Error |
MethodName
| 0 | Error |
PackageName | 0 | Error |
LocalFinalVariableName | 0 | Error |
ParameterName | 0 | Error |
StaticVariableName | 0 | Error |
TypeName
| 0 | Error |
Header
| 13 | Error |
AvoidStarImport | 0 | Error |
IllegalImport | 0 | Error |
RedundantImport | 0 | Error |
UnusedImports | 0 | Error |
FileLength | 0 | Error |
LineLength
| 13 | Error |
MethodLength
| 0 | Error |
ParameterNumber
| 0 | Error |
TabCharacter | 0 | Error |
NeedBraces | 52 | Error |
LeftCurly
| 19 | Error |
RightCurly
| 4 | Error |
DoubleCheckedLocking | 0 | Error |
EmptyStatement | 0 | Error |
EqualsHashCode | 0 | Error |
InnerAssignment | 11 | Error |
DefaultComesLast | 0 | Error |
MissingSwitchDefault | 0 | Error |
FallThrough | 0 | Error |
MultipleVariableDeclarations | 8 | Error |
UpperEll | 0 | Error |
Details
org/apache/myfaces/commons/util/ArrayUtils.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
Each variable declaration must be in its own statement. | 119 | |
Each variable declaration must be in its own statement. | 164 | |
Each variable declaration must be in its own statement. | 199 |
org/apache/myfaces/commons/util/AttachedDeltaWrapper.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/util/ClassUtils.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. | 140 | |
'if' construct must use '{}'s. | 193 | |
Line is longer than 120 characters. | 250 | |
'if' construct must use '{}'s. | 276 | |
'if' construct must use '{}'s. | 287 | |
Each variable declaration must be in its own statement. | 294 | |
'if' construct must use '{}'s. | 333 | |
Line is longer than 120 characters. | 353 | |
'{' should be on a new line. | 377 | |
Line is longer than 120 characters. | 409 |
org/apache/myfaces/commons/util/ExternalContextUtils.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/util/LocaleUtils.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. | 55 | |
Line is longer than 120 characters. | 56 | |
'{' should be on a new line. | 62 | |
Each variable declaration must be in its own statement. | 71 | |
Inner assignments should be avoided. | 75 |
org/apache/myfaces/commons/util/MessageUtils.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. | 202 | |
'{' should be on a new line. | 216 | |
'if' construct must use '{}'s. | 234 | |
'if' construct must use '{}'s. | 260 | |
'}' should be alone on a line. | 262 | |
'{' should be on a new line. | 283 | |
'{' should be on a new line. | 299 | |
'{' should be on a new line. | 320 | |
'{' should be on a new line. | 333 | |
Line is longer than 120 characters. | 340 | |
'{' should be on a new line. | 354 | |
'{' should be on a new line. | 370 | |
'{' should be on a new line. | 386 | |
'{' should be on a new line. | 408 | |
'{' should be on a new line. | 421 | |
'{' should be on a new line. | 446 | |
'{' should be on a new line. | 450 | |
'if' construct must use '{}'s. | 455 | |
Line is longer than 120 characters. | 473 | |
'{' should be on a new line. | 519 | |
'{' should be on a new line. | 536 | |
'if' construct must use '{}'s. | 568 | |
'if' construct must use '{}'s. | 571 | |
'}' should be alone on a line. | 577 | |
Line is longer than 120 characters. | 586 | |
'if' construct must use '{}'s. | 588 | |
'if' construct must use '{}'s. | 591 | |
'}' should be alone on a line. | 597 | |
'{' should be on a new line. | 606 | |
'if' construct must use '{}'s. | 608 | |
'if' construct must use '{}'s. | 612 | |
'}' should be alone on a line. | 625 | |
Line is longer than 120 characters. | 627 |
org/apache/myfaces/commons/util/ParametrizableFacesMessage.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. | 53 | |
'if' construct must use '{}'s. | 62 |
org/apache/myfaces/commons/util/RendererUtils.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/util/RequestType.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/util/StringUtils.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 | |
Name 'end_' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 269 | |
Name 'begin_' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 279 | |
Inner assignments should be avoided. | 281 | |
Name '_end' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 332 | |
Inner assignments should be avoided. | 360 | |
Inner assignments should be avoided. | 385 | |
Inner assignments should be avoided. | 399 | |
Inner assignments should be avoided. | 420 | |
Inner assignments should be avoided. | 429 | |
Inner assignments should be avoided. | 456 | |
Inner assignments should be avoided. | 521 | |
Each variable declaration must be in its own statement. | 543 | |
Inner assignments should be avoided. | 544 | |
Inner assignments should be avoided. | 572 | |
Each variable declaration must be in its own statement. | 633 | |
Each variable declaration must be in its own statement. | 687 |
org/apache/myfaces/commons/util/TagUtils.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. | 63 | |
'if' construct must use '{}'s. | 77 | |
'if' construct must use '{}'s. | 91 | |
'if' construct must use '{}'s. | 94 | |
'if' construct must use '{}'s. | 108 | |
'if' construct must use '{}'s. | 111 | |
'if' construct must use '{}'s. | 126 | |
'if' construct must use '{}'s. | 140 | |
'if' construct must use '{}'s. | 155 | |
'if' construct must use '{}'s. | 176 | |
'if' construct must use '{}'s. | 190 | |
'if' construct must use '{}'s. | 193 | |
'if' construct must use '{}'s. | 207 | |
'if' construct must use '{}'s. | 210 | |
'if' construct must use '{}'s. | 233 | |
'if' construct must use '{}'s. | 252 | |
'{' should be on a new line. | 272 | |
'if' construct must use '{}'s. | 288 | |
'if' construct must use '{}'s. | 326 | |
'if' construct must use '{}'s. | 329 | |
'if' construct must use '{}'s. | 356 |
org/apache/myfaces/commons/util/WebConfigParamUtils.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. | 72 | |
Line is longer than 120 characters. | 98 | |
Line is longer than 120 characters. | 117 | |
'if' construct must use '{}'s. | 128 | |
'if' construct must use '{}'s. | 135 | |
'if' construct must use '{}'s. | 202 | |
Line is longer than 120 characters. | 238 | |
'if' construct must use '{}'s. | 240 | |
'if' construct must use '{}'s. | 306 | |
'if' construct must use '{}'s. | 312 | |
Line is longer than 120 characters. | 352 | |
'if' construct must use '{}'s. | 354 | |
'if' construct must use '{}'s. | 360 | |
'if' construct must use '{}'s. | 436 | |
'if' construct must use '{}'s. | 488 | |
'if' construct must use '{}'s. | 494 | |
'if' construct must use '{}'s. | 556 | |
'if' construct must use '{}'s. | 609 | |
'if' construct must use '{}'s. | 615 | |
Line is longer than 120 characters. | 653 |
org/apache/myfaces/commons/util/renderkit/HTML.java
Violation | Message | Line |
---|---|---|
Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one'. | 2 |