Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos infoWarnings warningErrors error
3200325

Rules

RulesViolationsSeverity
PackageHtml10error Error
NewlineAtEndOfFile22error Error
Translation0error Error
JavadocMethod56error Error
JavadocType3error Error
JavadocVariable45error Error
JavadocStyle2error Error
ConstantName2error Error
LocalFinalVariableName0error Error
LocalVariableName0error Error
MemberName0error Error
MethodName0error Error
PackageName0error Error
ParameterName0error Error
StaticVariableName0error Error
TypeName0error Error
Header
  • headerFile: "c:\java\geronimo\xbean\tags\xbean-2.6\xbean-server\target\checkstyle-header.txt"
22error Error
AvoidStarImport0error Error
IllegalImport0error Error
RedundantImport0error Error
UnusedImports0error Error
FileLength0error Error
LineLength
  • max: "120"
14error Error
MethodLength0error Error
ParameterNumber0error Error
EmptyForIteratorPad0error Error
NoWhitespaceAfter1error Error
NoWhitespaceBefore0error Error
OperatorWrap0error Error
ParenPad2error Error
TypecastParenPad0error Error
TabCharacter0error Error
WhitespaceAfter1error Error
WhitespaceAround3error Error
ModifierOrder4error Error
RedundantModifier0error Error
AvoidNestedBlocks0error Error
EmptyBlock4error Error
LeftCurly0error Error
NeedBraces0error Error
RightCurly9error Error
AvoidInlineConditionals0error Error
DoubleCheckedLocking0error Error
EmptyStatement0error Error
EqualsHashCode0error Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
5error Error
IllegalInstantiation0error Error
InnerAssignment0error Error
MagicNumber3error Error
MissingSwitchDefault0error Error
RedundantThrows7error Error
SimplifyBooleanExpression0error Error
SimplifyBooleanReturn0error Error
FinalClass1error Error
HideUtilityClassConstructor0error Error
InterfaceIsType0error Error
VisibilityModifier0error Error
ArrayTypeStyle1error Error
FinalParameters79error Error
GenericIllegalRegexp
  • message: "Line has trailing spaces."
  • format: "\s+$"
29error Error
TodoComment0error Error
UpperEll0error Error

Files

Filesinfowarningerror
org/apache/xbean/server/spring/loader/SpringLoader.java0011
org/apache/xbean/server/loader/package.html001
org/apache/xbean/server/spring/configuration/SpringConfiguration.java0016
org/apache/xbean/server/spring/configuration/ClassLoaderXmlPreprocessor.java0015
org/apache/xbean/server/main/FatalStartupError.java0011
org/apache/xbean/server/spring/configuration/package.html001
org/apache/xbean/server/spring/jmx/ConnectorServerFactoryBean.java009
org/apache/xbean/server/spring/reference/ClassLoaderReference.java006
org/apache/xbean/server/main/package.html001
org/apache/xbean/server/main/Main.java002
org/apache/xbean/server/propertyeditor/ObjectNameEditor.java005
org/apache/xbean/server/propertyeditor/InetAddressEditor.java005
org/apache/xbean/server/spring/jmx/MBeanServerFactoryBean.java0016
org/apache/xbean/server/loader/Loader.java002
org/apache/xbean/server/propertyeditor/URIEditor.java005
org/apache/xbean/server/spring/reference/ServiceNameStringReference.java006
org/apache/xbean/server/spring/reference/ServiceNameReference.java006
org/apache/xbean/server/deployer/FileDeployer.java0092
org/apache/xbean/server/repository/package.html001
org/apache/xbean/server/repository/Repository.java002
org/apache/xbean/server/spring/main/SpringBootstrap.java0029
org/apache/xbean/server/loader/LoadAllMain.java009
org/apache/xbean/server/spring/reference/package.html001
org/apache/xbean/server/deployer/package.html001
org/apache/xbean/server/repository/FileSystemRepository.java007
org/apache/xbean/server/spring/loader/package.html001
org/apache/xbean/server/spring/reference/KernelReference.java007
org/apache/xbean/server/spring/configuration/SpringConfigurationServiceFactory.java0025
org/apache/xbean/server/propertyeditor/package.html001
org/apache/xbean/server/spring/main/package.html001
org/apache/xbean/server/main/KernelMain.java0029
org/apache/xbean/server/spring/jmx/package.html001

Details

org/apache/xbean/server/spring/loader/SpringLoader.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.48
errorMissing a Javadoc comment.49
errorMissing a Javadoc comment.50
errorMissing a Javadoc comment.51
errorParameter kernel should be final.70
errorParameter beanFactoryPostProcessors should be final.86
errorParameter baseDir should be final.102
errorParameter xmlPreprocessors should be final.118
errorParameter location should be final.130

org/apache/xbean/server/loader/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/xbean/server/spring/configuration/SpringConfiguration.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.44
errorMissing a Javadoc comment.45
errorMissing a Javadoc comment.46
errorLine is longer than 120 characters.49
errorParameter applicationContext should be final.54
errorParameter kernel should be final.54
errorLine has trailing spaces.64
errorMust have at least one statement.133
errorMust have at least one statement.135
errorMissing a Javadoc comment.146
errorParameter applicationContext should be final.146
errorLine has trailing spaces.151
errorMissing a Javadoc comment.177
errorParameter applicationContext should be final.177

org/apache/xbean/server/spring/configuration/ClassLoaderXmlPreprocessor.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.48
errorParameter repository should be final.54
errorLine is longer than 120 characters.66
errorParameter applicationContext should be final.66
errorParameter reader should be final.66
errorParameter document should be final.66
errorLine has trailing spaces.76
errorLine has trailing spaces.110
errorLine has trailing spaces.124
errorLine has trailing spaces.125
errorMissing a Javadoc comment.141
errorParameter applicationContext should be final.141
errorLine has trailing spaces.151

org/apache/xbean/server/main/FatalStartupError.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.31
errorParameter message should be final.37
errorParameter message should be final.46
errorParameter exitCode should be final.46
errorParameter message should be final.56
errorParameter cause should be final.56
errorParameter message should be final.66
errorParameter exitCode should be final.66
errorParameter cause should be final.66

org/apache/xbean/server/spring/configuration/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/xbean/server/spring/jmx/ConnectorServerFactoryBean.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorLine has trailing spaces.28
errorMissing a Javadoc comment.33
errorName 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.33
errorMissing a Javadoc comment.35
errorMissing a Javadoc comment.37
errorParameter serviceUrl should be final.37
errorMissing a Javadoc comment.42

org/apache/xbean/server/spring/reference/ClassLoaderReference.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.43
errorMissing a Javadoc comment.47
error'final' modifier out of order with the JLS suggestions.47
errorMissing a Javadoc comment.55

org/apache/xbean/server/main/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/xbean/server/main/Main.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1

org/apache/xbean/server/propertyeditor/ObjectNameEditor.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorParameter value should be final.36
errorRedundant throws: 'IllegalArgumentException' is unchecked exception.36
errorUnused @throws tag for 'NullPointerException'.47

org/apache/xbean/server/propertyeditor/InetAddressEditor.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorParameter value should be final.36
errorRedundant throws: 'IllegalArgumentException' is unchecked exception.36
errorRedundant throws: 'NullPointerException' is unchecked exception.49

org/apache/xbean/server/spring/jmx/MBeanServerFactoryBean.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorLine has trailing spaces.25
errorLine has trailing spaces.27
errorMissing a Javadoc comment.32
errorLine has trailing spaces.33
errorLine has trailing spaces.36
errorLine is longer than 120 characters.38
errorLine has trailing spaces.40
errorLine has trailing spaces.42
errorLine has trailing spaces.43
errorLine is longer than 120 characters.44
error'cast' is not followed by whitespace.45
errorLine has trailing spaces.47
errorMissing a Javadoc comment.51
errorMissing a Javadoc comment.55

org/apache/xbean/server/loader/Loader.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1

org/apache/xbean/server/propertyeditor/URIEditor.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorParameter value should be final.36
errorRedundant throws: 'IllegalArgumentException' is unchecked exception.36
errorUnused @throws tag for 'NullPointerException'.47

org/apache/xbean/server/spring/reference/ServiceNameStringReference.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.43
errorMissing a Javadoc comment.47
error'final' modifier out of order with the JLS suggestions.47
errorMissing a Javadoc comment.55

org/apache/xbean/server/spring/reference/ServiceNameReference.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.44
errorMissing a Javadoc comment.48
error'final' modifier out of order with the JLS suggestions.48
errorMissing a Javadoc comment.56

org/apache/xbean/server/deployer/FileDeployer.java

ViolationMessageLine
errorFile does not end with a newline.0
errorLine does not match expected header line of ''.1
errorLine has trailing spaces.52
errorMissing a Javadoc comment.59
errorName 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.59
errorMissing a Javadoc comment.61
errorMissing a Javadoc comment.62
errorMissing a Javadoc comment.63
errorMissing a Javadoc comment.64
errorMissing a Javadoc comment.65
error'{' is followed by whitespace.65
errorMissing a Javadoc comment.66
errorMissing a Javadoc comment.67
errorMissing a Javadoc comment.68
errorMissing a Javadoc comment.69
errorMissing a Javadoc comment.71
errorMissing a Javadoc comment.91
errorParameter applicationContext should be final.91
errorRedundant throws: 'BeansException' is unchecked exception.91
errorMissing a Javadoc comment.95
error'}' should be on the same line.102
errorMissing a Javadoc comment.110
errorMissing a Javadoc comment.114
errorParameter classLoader should be final.114
errorLine has trailing spaces.120
errorParameter kernel should be final.124
errorLine has trailing spaces.130
errorLine has trailing spaces.140
errorParameter baseDir should be final.145
errorLine has trailing spaces.151
errorLine has trailing spaces.160
errorParameter xmlPreprocessors should be final.164
errorLine has trailing spaces.170
errorLine has trailing spaces.179
errorParameter beanFactoryPostProcessors should be final.183
errorMissing a Javadoc comment.187
errorFirst sentence should end with a period.191
errorParameter verbose should be final.194
errorExpected @param tag for 'verbose'.194
errorMissing a Javadoc comment.198
errorParameter showIgnoredFiles should be final.206
errorExpected @param tag for 'showIgnoredFiles'.206
errorMissing a Javadoc comment.210
errorParameter jarDirectoryNames should be final.220
errorExpected @param tag for 'jarDirectoryNames'.220
errorLine is longer than 120 characters.226
errorMissing a Javadoc comment.226
errorParameter parentName should be final.226
errorParameter classLoader should be final.226
error'classLoader' hides a field.226
errorParameter parentContext should be final.226
errorParameter directory should be final.226
errorRedundant throws: 'BeansException' is unchecked exception.227
error'}' should be on the same line.243
error'}' should be on the same line.246
error'}' should be on the same line.250
errorLine is longer than 120 characters.298
errorMissing a Javadoc comment.298
errorParameter name should be final.298
errorParameter dir should be final.298
errorParameter parentClassLoader should be final.298
error'}' should be on the same line.303
errorMust have at least one statement.304
error'}' should be on the same line.314
errorMust have at least one statement.315
errorArray brackets at illegal position.322
errorLine is longer than 120 characters.327
errorMissing a Javadoc comment.327
errorParameter name should be final.327
errorParameter file should be final.327
errorParameter classLoader should be final.327
error'classLoader' hides a field.327
errorParameter parentContext should be final.327
errorRedundant throws: 'BeansException' is unchecked exception.328
errorLine is longer than 120 characters.342
error'applicationContext' hides a field.342
errorLine is longer than 120 characters.347
error'}' should be on the same line.350
error'}' should be on the same line.354
errorMissing a Javadoc comment.362
errorParameter file should be final.362
errorMissing a Javadoc comment.374
errorParameter file should be final.374
errorMissing a Javadoc comment.379
errorParameter file should be final.379
errorFirst sentence should end with a period.384
errorExpected an @return tag.388
errorParameter properties should be final.388
errorExpected @param tag for 'properties'.388
errorMissing a Javadoc comment.400
errorParameter parentName should be final.400
errorParameter file should be final.400

org/apache/xbean/server/repository/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/xbean/server/repository/Repository.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1

org/apache/xbean/server/spring/main/SpringBootstrap.java

ViolationMessageLine
errorFile does not end with a newline.0
errorLine does not match expected header line of ''.1
errorLine is longer than 120 characters.39
errorMissing a Javadoc comment.60
errorMissing a Javadoc comment.61
errorMissing a Javadoc comment.62
errorLine is longer than 120 characters.63
errorMissing a Javadoc comment.63
errorMissing a Javadoc comment.65
errorMissing a Javadoc comment.66
errorMissing a Javadoc comment.67
errorMissing a Javadoc comment.68
errorParameter args should be final.76
errorLine has trailing spaces.83
errorParameter args should be final.86
errorExpected @param tag for 'args'.86
errorParameter springBootstrap should be final.86
errorExpected @param tag for 'springBootstrap'.86
error'9' is a magic number.100
errorParameter configurationFile should be final.116
errorParameter mainArguments should be final.132
errorParameter propertyEditorPaths should be final.148
errorParameter serverBaseDirectory should be final.164
errorParameter args should be final.172
error'9' is a magic number.207
errorLine is longer than 120 characters.244
errorLine is longer than 120 characters.272
error'10' is a magic number.272
error'}' should be on the same line.276

org/apache/xbean/server/loader/LoadAllMain.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.38
errorMissing a Javadoc comment.39
errorParameter kernel should be final.53
errorParameter next should be final.69
errorParameter args should be final.77
errorMissing a Javadoc comment.88
errorParameter location should be final.88

org/apache/xbean/server/spring/reference/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/xbean/server/deployer/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/xbean/server/repository/FileSystemRepository.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.35
errorParameter root should be final.48
errorParameter root should be final.66
errorParameter location should be final.77
error'root' hides a field.78

org/apache/xbean/server/spring/loader/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/xbean/server/spring/reference/KernelReference.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorLine has trailing spaces.30
errorMissing a Javadoc comment.45
errorMissing a Javadoc comment.49
error'final' modifier out of order with the JLS suggestions.49
errorMissing a Javadoc comment.57

org/apache/xbean/server/spring/configuration/SpringConfigurationServiceFactory.java

ViolationMessageLine
errorFile does not end with a newline.0
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.43
errorMissing a Javadoc comment.44
errorMissing a Javadoc comment.45
errorParameter applicationContext should be final.51
errorParameter serviceContext should be final.105
errorParameter serviceContext should be final.125
errorLine has trailing spaces.139
errorMissing a Javadoc comment.140
errorMissing a Javadoc comment.141
errorMissing a Javadoc comment.143
errorParameter context should be final.143
errorMissing a Javadoc comment.150
errorMissing a Javadoc comment.154
errorMissing a Javadoc comment.161
errorMissing a Javadoc comment.167
errorMissing a Javadoc comment.168
errorMissing a Javadoc comment.169
errorMissing a Javadoc comment.171
errorParameter context should be final.171
error'context' hides a field.171
errorMissing a Javadoc comment.175
errorMissing a Javadoc comment.179
errorMissing a Javadoc comment.186

org/apache/xbean/server/propertyeditor/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/xbean/server/spring/main/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/xbean/server/main/KernelMain.java

ViolationMessageLine
errorFile does not end with a newline.0
errorLine does not match expected header line of ''.1
errorMissing a Javadoc comment.41
errorMissing a Javadoc comment.43
errorMissing a Javadoc comment.44
errorMissing a Javadoc comment.45
errorMissing a Javadoc comment.46
errorMissing a Javadoc comment.47
errorParameter kernel should be final.62
errorParameter classLoader should be final.78
errorParameter services should be final.94
errorParameter daemon should be final.110
errorParameter next should be final.126
errorParameter args should be final.135
errorLine is longer than 120 characters.161
errorLine has trailing spaces.198
errorMissing a Javadoc comment.199
error'if' is not followed by whitespace.200
error'(' is followed by whitespace.200
error'!=' is not preceded with whitespace.200
error'!=' is not followed by whitespace.200
error')' is preceded with whitespace.200
errorClass DestroyKernelThread should be declared as final.205
errorMissing a Javadoc comment.205
errorMissing a Javadoc comment.206
errorMissing a Javadoc comment.208
errorParameter kernel should be final.208
errorMissing a Javadoc comment.213
errorLine has trailing spaces.217

org/apache/xbean/server/spring/jmx/package.html

ViolationMessageLine
errorMissing package documentation file.0