Checkstyle Results
The following document contains the results of Checkstyle. 
Summary
Files | Infos  | Warnings  | Errors  |
---|
9 | 0 | 0 | 67 |
Rules
Rules | Violations | Severity |
---|
PackageHtml | 1 | Error |
NewlineAtEndOfFile | 0 | Error |
Translation | 0 | Error |
JavadocMethod- allowUndeclaredRTE: "true"
| 18 | Error |
JavadocType | 0 | Error |
JavadocVariable | 0 | Error |
JavadocStyle | 0 | Error |
ConstantName | 3 | Error |
LocalFinalVariableName | 0 | Error |
LocalVariableName | 0 | Error |
MemberName | 0 | Error |
MethodName | 0 | Error |
PackageName | 0 | Error |
ParameterName | 0 | Error |
StaticVariableName | 0 | Error |
TypeName | 0 | Error |
RegexpHeader- header
1: /\*\s* 2: \*\s*Licensed to the Apache Software Foundation \(ASF\) under one or more 3: \*\s*contributor license agreements. See the NOTICE file distributed with 4: \*\s*this work for additional information regarding copyright ownership\. 5: \*\s*The ASF licenses this file to you under the Apache License, Version 2\.0 6: \*\s*\(the .License.\); you may not use this file except in compliance with 7: \*\s*the License. You may obtain a copy of the License at 8: \*\s* 9: \*\s*http://www\.apache\.org/licenses/LICENSE\-2\.0 10: \*\s* 11: \*\s*Unless required by applicable law or agreed to in writing, software 12: \*\s*distributed under the License is distributed on an .AS IS. BASIS, 13: \*\s*WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\. 14: \*\s*See the License for the specific language governing permissions and 15: \*\s*limitations under the License\. 16: \*
| 0 | Error |
AvoidStarImport | 0 | Error |
IllegalImport | 0 | Error |
RedundantImport | 0 | Error |
UnusedImports | 1 | Error |
FileLength | 0 | Error |
LineLength- ignorePattern: "^ \* @version .*$"
- max: "120"
| 0 | Error |
MethodLength | 0 | Error |
ParameterNumber | 0 | Error |
EmptyForIteratorPad | 0 | Error |
NoWhitespaceAfter- tokens: "BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"
| 0 | Error |
NoWhitespaceBefore | 0 | Error |
OperatorWrap | 5 | Error |
ParenPad | 0 | Error |
TypecastParenPad | 0 | Error |
TabCharacter | 7 | Error |
WhitespaceAfter | 2 | Error |
WhitespaceAround | 0 | Error |
ModifierOrder | 0 | Error |
RedundantModifier | 0 | Error |
AvoidNestedBlocks | 0 | Error |
EmptyBlock | 0 | Error |
LeftCurly | 0 | Error |
NeedBraces | 0 | Error |
RightCurly | 0 | Error |
DoubleCheckedLocking | 0 | Error |
EmptyStatement | 1 | Error |
EqualsHashCode | 0 | Error |
IllegalInstantiation | 0 | Error |
InnerAssignment | 0 | Error |
MagicNumber | 3 | Error |
MissingSwitchDefault | 0 | Error |
RedundantThrows | 0 | Error |
SimplifyBooleanExpression | 0 | Error |
SimplifyBooleanReturn | 0 | Error |
FinalClass | 0 | Error |
HideUtilityClassConstructor | 0 | Error |
InterfaceIsType | 0 | Error |
VisibilityModifier | 0 | Error |
ArrayTypeStyle | 3 | Error |
GenericIllegalRegexp- message: "Line has trailing spaces."
- format: "\s+$"
| 23 | Error |
TodoComment | 0 | Error |
UpperEll | 0 | Error |
Details
org/apache/shale/examples/mailreader/State.java
Violation | Message | Line |
---|
 | Line has trailing spaces. | 31 |
 | Line has trailing spaces. | 32 |
org/apache/shale/examples/mailreader/package.html
Violation | Message | Line |
---|
 | Missing package documentation file. | 0 |
org/apache/shale/examples/mailreader/Subscription.java
Violation | Message | Line |
---|
 | Line has trailing spaces. | 34 |
 | Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 41 |
 | Expected an @return tag. | 153 |
 | Expected an @return tag. | 168 |
 | 'cast' is not followed by whitespace. | 189 |
 | Empty statement. | 215 |
 | '&&' should be on a new line. | 254 |
org/apache/shale/examples/mailreader/ApplicationListener.java
Violation | Message | Line |
---|
 | Unused import - javax.servlet.ServletException. | 33 |
 | Missing a Javadoc comment. | 105 |
 | Missing a Javadoc comment. | 109 |
 | Line contains a tab character. | 135 |
 | Unused @throws tag for 'ServletException'. | 148 |
 | '+' should be on a new line. | 152 |
 | '+' should be on a new line. | 169 |
 | Array brackets at illegal position. | 175 |
 | Expected an @return tag. | 192 |
 | '1024' is a magic number. | 211 |
 | '1024' is a magic number. | 214 |
 | Array brackets at illegal position. | 215 |
 | '1024' is a magic number. | 215 |
org/apache/shale/examples/mailreader/Logon.java
Violation | Message | Line |
---|
 | Line has trailing spaces. | 35 |
 | Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 42 |
 | Line has trailing spaces. | 82 |
 | Line has trailing spaces. | 83 |
 | Expected an @return tag. | 98 |
 | Line contains a tab character. | 105 |
 | Line contains a tab character. | 106 |
 | Line contains a tab character. | 107 |
 | Line contains a tab character. | 108 |
 | Line contains a tab character. | 109 |
 | Line has trailing spaces. | 119 |
org/apache/shale/examples/mailreader/BaseViewController.java
Violation | Message | Line |
---|
 | Line has trailing spaces. | 31 |
 | Line has trailing spaces. | 32 |
 | Expected an @return tag. | 48 |
 | Line has trailing spaces. | 49 |
 | Expected an @return tag. | 60 |
org/apache/shale/examples/mailreader/Index.java
Violation | Message | Line |
---|
 | Line has trailing spaces. | 27 |
 | Line has trailing spaces. | 28 |
 | Expected an @return tag. | 38 |
org/apache/shale/examples/mailreader/Registration.java
Violation | Message | Line |
---|
 | Line has trailing spaces. | 37 |
 | Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 44 |
 | Line has trailing spaces. | 88 |
 | Line has trailing spaces. | 89 |
 | Line has trailing spaces. | 115 |
 | Line has trailing spaces. | 116 |
 | Array brackets at illegal position. | 172 |
 | Line has trailing spaces. | 195 |
 | Expected an @return tag. | 210 |
 | Expected an @return tag. | 224 |
 | Expected an @return tag. | 240 |
 | Expected an @return tag. | 256 |
 | Line has trailing spaces. | 271 |
 | Expected an @return tag. | 273 |
 | Expected @throws tag for 'ExpiredPasswordException'. | 273 |
 | Line has trailing spaces. | 304 |
 | '&&' should be on a new line. | 309 |
 | '&&' should be on a new line. | 310 |
 | Line has trailing spaces. | 322 |
 | Line contains a tab character. | 414 |
org/apache/shale/examples/mailreader/MainMenu.java
Violation | Message | Line |
---|
 | Line has trailing spaces. | 29 |
 | Line has trailing spaces. | 30 |
 | Expected an @return tag. | 40 |
 | 'cast' is not followed by whitespace. | 43 |
 | Expected an @return tag. | 60 |