Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos infoWarnings warningErrors error
1800380

Rules

RulesViolationsSeverity
PackageHtml1error Error
NewlineAtEndOfFile9error Error
Translation0error Error
JavadocMethod137error Error
JavadocType1error Error
JavadocVariable31error Error
JavadocStyle11error Error
ConstantName0error Error
LocalFinalVariableName0error Error
LocalVariableName0error Error
MemberName0error Error
MethodName0error Error
PackageName0error Error
ParameterName2error Error
StaticVariableName0error Error
TypeName0error Error
Header
  • headerFile: "/Users/jason/ws/geronimo/specs/geronimo-activation_1.0.2_spec/target/checkstyle-header.txt"
17error Error
AvoidStarImport0error Error
IllegalImport0error Error
RedundantImport0error Error
UnusedImports1error Error
FileLength0error Error
LineLength
  • max: "120"
1error Error
MethodLength0error Error
ParameterNumber0error Error
EmptyForIteratorPad0error Error
NoWhitespaceAfter0error Error
NoWhitespaceBefore0error Error
OperatorWrap0error Error
ParenPad0error Error
TypecastParenPad0error Error
TabCharacter0error Error
WhitespaceAfter3error Error
WhitespaceAround10error Error
ModifierOrder2error Error
RedundantModifier10error Error
AvoidNestedBlocks0error Error
EmptyBlock21error Error
LeftCurly0error Error
NeedBraces3error Error
RightCurly2error Error
AvoidInlineConditionals5error Error
DoubleCheckedLocking0error Error
EmptyStatement0error Error
EqualsHashCode1error Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
10error Error
IllegalInstantiation0error Error
InnerAssignment0error Error
MagicNumber4error Error
MissingSwitchDefault0error Error
RedundantThrows0error Error
SimplifyBooleanExpression0error Error
SimplifyBooleanReturn0error Error
FinalClass1error Error
HideUtilityClassConstructor0error Error
InterfaceIsType0error Error
VisibilityModifier0error Error
ArrayTypeStyle0error Error
FinalParameters96error Error
GenericIllegalRegexp
  • message: "Line has trailing spaces."
  • format: "\s+$"
1error Error
TodoComment0error Error
UpperEll0error Error

Details

javax/activation/MimeTypeParseException.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.24
errorMissing a Javadoc comment.28
errorParameter s should be final.28

javax/activation/ActivationDataFlavor.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.27
errorMissing a Javadoc comment.28
errorMissing a Javadoc comment.29
errorMissing a Javadoc comment.31
errorParameter representationClass should be final.31
errorParameter mimeType should be final.31
errorParameter humanPresentableName should be final.31
errorMissing a Javadoc comment.37
errorParameter representationClass should be final.37
errorParameter humanPresentableName should be final.37
errorMissing a Javadoc comment.43
errorParameter mimeType should be final.43
errorParameter humanPresentableName should be final.43
errorMissing a Javadoc comment.49
errorMissing a Javadoc comment.53
errorMissing a Javadoc comment.57
errorMissing a Javadoc comment.61
errorParameter humanPresentableName should be final.61
errorDefinition of 'equals()' without corresponding definition of 'hashCode()'.65
errorMissing a Javadoc comment.65
errorParameter dataFlavor should be final.65
errorLine is longer than 120 characters.66
errorMissing a Javadoc comment.69
errorParameter mimeType should be final.69
error'mimeType' hides a field.69
errorMissing a Javadoc comment.79
errorParameter parameterName should be final.79
errorParameter parameterValue should be final.79
errorMissing a Javadoc comment.83
errorParameter mimeType should be final.83
error'mimeType' hides a field.83

javax/activation/URLDataSource.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.30
error'static' modifier out of order with the JLS suggestions.30
errorMissing a Javadoc comment.32
errorParameter url should be final.37
errorExpected @param tag for 'url'.37
errorExpected an @return tag.48
errorAvoid inline conditionals.52
errorExpected @throws tag for 'IOException'.70
errorExpected an @return tag.77
errorExpected @throws tag for 'IOException'.77
errorExpected an @return tag.86

javax/activation/package.html

ViolationMessageLine
errorMissing package documentation file.0

javax/activation/FileDataSource.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.31
errorMissing a Javadoc comment.32
errorFirst sentence should end with a period.34
errorParameter file should be final.37
errorExpected @param tag for 'file'.37
errorFirst sentence should end with a period.41
errorParameter name should be final.44
errorExpected @param tag for 'name'.44
errorFirst sentence should end with a period.48
errorExpected an @return tag.51
errorExpected @throws tag for 'IOException'.51
errorFirst sentence should end with a period.55
errorExpected an @return tag.58
errorExpected @throws tag for 'IOException'.58
errorFirst sentence should end with a period.62
errorExpected an @return tag.65
errorFirst sentence should end with a period.73
errorExpected an @return tag.76
errorFirst sentence should end with a period.80
errorExpected an @return tag.83
errorFirst sentence should end with a period.87
errorParameter map should be final.90
errorExpected @param tag for 'map'.90

javax/activation/DataSource.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.28
errorRedundant 'public' modifier.28
errorMissing a Javadoc comment.30
errorRedundant 'public' modifier.30
errorMissing a Javadoc comment.32
errorRedundant 'public' modifier.32
errorMissing a Javadoc comment.34
errorRedundant 'public' modifier.34

javax/activation/CommandObject.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.26
errorRedundant 'public' modifier.26

javax/activation/FileTypeMap.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.30
errorUnused @throws tag for 'SecurityException'.35
errorParameter fileMap should be final.37
errorFirst sentence should end with a period.45
error'static' modifier out of order with the JLS suggestions.49
errorMissing a Javadoc comment.56
errorMissing a Javadoc comment.59
errorMissing a Javadoc comment.61

javax/activation/DataHandler.java

ViolationMessageLine
errorLine does not match expected header line of ''.1
errorMissing a Javadoc comment.34
errorMissing a Javadoc comment.35
errorMissing a Javadoc comment.37
errorMissing a Javadoc comment.38
errorMissing a Javadoc comment.40
errorParameter ds should be final.40
errorMissing a Javadoc comment.45
errorParameter data should be final.45
errorParameter type should be final.45
errorMissing a Javadoc comment.50
errorParameter url should be final.50
errorMissing a Javadoc comment.55
errorMissing a Javadoc comment.59
errorMissing a Javadoc comment.63
errorMissing a Javadoc comment.67
errorMissing a Javadoc comment.71
errorParameter os should be final.71
error'dch' hides a field.74
error'1024' is a magic number.80
errorMissing a Javadoc comment.93
errorMissing a Javadoc comment.97
errorMissing a Javadoc comment.101
errorParameter flavor should be final.101
error'flavor' hides a field.101
errorMissing a Javadoc comment.112
errorParameter flavor should be final.112
error'flavor' hides a field.112
error'dch' hides a field.113
errorMissing a Javadoc comment.127
errorMissing a Javadoc comment.131
errorMissing a Javadoc comment.135
errorParameter cmdName should be final.135
errorMissing a Javadoc comment.139
error'dch' hides a field.143
errorMissing a Javadoc comment.152
errorParameter cmdinfo should be final.152
errorMissing a Javadoc comment.166
errorMissing a Javadoc comment.167
errorMissing a Javadoc comment.169
errorParameter data should be final.169
errorParameter mimeType should be final.169
errorMissing a Javadoc comment.174
errorMissing a Javadoc comment.178
errorMissing a Javadoc comment.182
error'dch' hides a field.183
errorMust have at least one statement.197
errorMissing a Javadoc comment.206
errorMissing a Javadoc comment.211
errorParameter commandMap should be final.211
errorMissing a Javadoc comment.216
errorAvoid inline conditionals.217
errorExpected an @return tag.233
errorParameter contentType should be final.270
errorMust have at least one statement.274
errorMissing a Javadoc comment.291
errorUnused @throws tag for 'SecurityException'.298
errorParameter newFactory should be final.300

javax/activation/CommandInfo.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.29
errorMissing a Javadoc comment.30
errorFirst sentence should end with a period.32
errorParameter commandName should be final.38
errorParameter commandClass should be final.38
errorParameter dh should be final.76
errorParameter loader should be final.76

javax/activation/DataContentHandlerFactory.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.24
errorRedundant 'public' modifier.24

javax/activation/MimetypesFileTypeMap.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.38
errorMissing a Javadoc comment.40
errorMissing a Javadoc comment.42
errorMust have at least one statement.53
errorMust have at least one statement.74
errorMust have at least one statement.76
errorMust have at least one statement.89
errorMust have at least one statement.91
errorMust have at least one statement.93
errorMust have at least one statement.106
errorMust have at least one statement.108
errorMust have at least one statement.110
errorMissing a Javadoc comment.115
errorParameter mimeTypeFileName should be final.115
errorMust have at least one statement.127
errorMissing a Javadoc comment.134
errorParameter is should be final.134
errorMust have at least one statement.138
errorMissing a Javadoc comment.143
errorParameter is should be final.143
errorMissing a Javadoc comment.151
errorParameter mime_types should be final.151
errorName 'mime_types' must match pattern '^[a-z][a-zA-Z0-9]*$'.151
errorMissing a Javadoc comment.167
errorParameter f should be final.167
errorMissing a Javadoc comment.171
errorParameter filename should be final.171
error'-' is not preceded with whitespace.173
error'-' is not followed by whitespace.173
errorAvoid inline conditionals.178

javax/activation/CommandMap.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.24
errorLine has trailing spaces.38
errorUnused @throws tag for 'SecurityException'.39
errorParameter commandMap should be final.41
errorAvoid inline conditionals.46
errorMissing a Javadoc comment.49
errorMissing a Javadoc comment.52
errorMissing a Javadoc comment.54
errorMissing a Javadoc comment.56
errorMissing a Javadoc comment.58

javax/activation/UnsupportedDataTypeException.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.26
errorMissing a Javadoc comment.30
errorParameter s should be final.30

javax/activation/MimeType.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.30
errorMissing a Javadoc comment.32
errorParameter c should be final.32
errorMissing a Javadoc comment.36
errorMissing a Javadoc comment.37
errorMissing a Javadoc comment.38
errorMissing a Javadoc comment.40
errorMissing a Javadoc comment.43
errorParameter rawdata should be final.43
errorMissing a Javadoc comment.47
errorParameter primary should be final.47
errorParameter sub should be final.47
errorMissing a Javadoc comment.52
errorMissing a Javadoc comment.56
errorParameter primary should be final.56
errorMissing a Javadoc comment.60
errorMissing a Javadoc comment.64
errorParameter sub should be final.64
errorMissing a Javadoc comment.68
errorMissing a Javadoc comment.72
errorParameter name should be final.72
errorMissing a Javadoc comment.76
errorParameter name should be final.76
errorParameter value should be final.76
errorMissing a Javadoc comment.80
errorParameter name should be final.80
errorMissing a Javadoc comment.84
errorMissing a Javadoc comment.88
errorMissing a Javadoc comment.92
errorParameter type should be final.92
error'if' construct must use '{}'s.93
error'if' construct must use '{}'s.94
error'if' construct must use '{}'s.95
errorMissing a Javadoc comment.99
errorParameter rawdata should be final.99
errorMissing a Javadoc comment.103
errorParameter out should be final.103
errorMissing a Javadoc comment.108
errorParameter in should be final.108
errorMissing a Javadoc comment.116
errorParameter rawData should be final.116
error'+' is not preceded with whitespace.122
error'+' is not followed by whitespace.122
error'+' is not preceded with whitespace.124
error'+' is not followed by whitespace.124
error'+' is not preceded with whitespace.126
error'+' is not followed by whitespace.126
errorMissing a Javadoc comment.131
errorParameter tokenString should be final.131
error'=' is not preceded with whitespace.133
error'=' is not followed by whitespace.133

javax/activation/MimeTypeParameterList.java

ViolationMessageLine
errorFile does not end with a newline.0
errorLine does not match expected header line of ''.1
errorMissing a Javadoc comment.32
errorMissing a Javadoc comment.34
errorMissing a Javadoc comment.37
errorParameter parameterList should be final.37
errorMissing a Javadoc comment.41
errorParameter parameterList should be final.41
errorMissing a Javadoc comment.55
errorMissing a Javadoc comment.59
errorMissing a Javadoc comment.63
errorParameter name should be final.63
errorMissing a Javadoc comment.67
errorParameter name should be final.67
errorParameter value should be final.67
errorMissing a Javadoc comment.71
errorParameter name should be final.71
errorMissing a Javadoc comment.75
errorExpected an @return tag.84
error'4' is a magic number.85
errorMissing a Javadoc comment.94
errorParameter buf should be final.94
errorParameter value should be final.94
errorClass RFC2045Parser should be declared as final.118
errorMissing a Javadoc comment.118
errorMissing a Javadoc comment.119
errorMissing a Javadoc comment.120
errorMissing a Javadoc comment.122
errorParameter text should be final.122
errorFirst sentence should end with a period.126
errorExpected an @return tag.131
errorExpected @throws tag for 'MimeTypeParseException'.131
errorMissing a Javadoc comment.145
errorMissing a Javadoc comment.160
errorMissing a Javadoc comment.173

javax/activation/MailcapCommandMap.java

ViolationMessageLine
errorLine does not match expected header line of ''.1
errorUnused import - java.security.Security.29
errorMissing a Javadoc comment.42
errorMissing a Javadoc comment.43
errorMissing a Javadoc comment.45
errorMissing a Javadoc comment.46
errorMissing a Javadoc comment.48
errorMust have at least one statement.60
errorMust have at least one statement.80
errorMust have at least one statement.82
errorMust have at least one statement.95
errorMust have at least one statement.97
errorMust have at least one statement.110
errorMust have at least one statement.112
errorMissing a Javadoc comment.117
errorParameter fileName should be final.117
errorMissing a Javadoc comment.127
errorParameter is should be final.127
errorMissing a Javadoc comment.132
errorParameter is should be final.132
errorMust have at least one statement.135
errorMissing a Javadoc comment.140
errorParameter reader should be final.140
errorMissing a Javadoc comment.148
errorParameter mail_cap should be final.148
errorName 'mail_cap' must match pattern '^[a-z][a-zA-Z0-9]*$'.148
error'7' is a magic number.216
error'7' is a magic number.217
error'}' should be on the same line.223
errorParameter mimeType should be final.242
errorParameter commands should be final.242
errorParameter fallback should be final.242
errorAvoid inline conditionals.244
error'cast' is not followed by whitespace.248
errorParameter commandList should be final.271
errorParameter mimeType should be final.271
errorParameter command should be final.271
errorMissing a Javadoc comment.282
errorParameter s should be final.282
errorParameter index should be final.282
errorMissing a Javadoc comment.289
errorParameter s should be final.289
errorParameter index should be final.289
errorMissing a Javadoc comment.296
errorParameter s should be final.296
errorParameter index should be final.296
errorMissing a Javadoc comment.313
errorParameter mimeType should be final.313
error'fallbackCommands' hides a field.322
error'}' should be on the same line.329
errorMissing a Javadoc comment.343
errorParameter mimeType should be final.343
error'cast' is not followed by whitespace.348
errorMissing a Javadoc comment.358
errorParameter main should be final.358
errorParameter fallback should be final.358
errorMissing a Javadoc comment.367
errorParameter mimeType should be final.367
error'fallbackCommands' hides a field.378
error'cast' is not followed by whitespace.394
errorMissing a Javadoc comment.399
errorParameter mimeType should be final.399
errorParameter cmdName should be final.399
errorMissing a Javadoc comment.426
errorParameter mimeType should be final.426
errorMissing a Javadoc comment.435
errorParameter mimeType should be final.435

javax/activation/DataContentHandler.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.29
errorRedundant 'public' modifier.29
errorMissing a Javadoc comment.31
errorRedundant 'public' modifier.31
errorMissing a Javadoc comment.33
errorRedundant 'public' modifier.33
errorMissing a Javadoc comment.35
errorRedundant 'public' modifier.35