Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos infoWarnings warningErrors error
800382

Rules

RulesViolationsSeverity
PackageHtml1error Error
NewlineAtEndOfFile2error Error
Translation0error Error
JavadocMethod82error Error
JavadocType5error Error
JavadocVariable21error Error
JavadocStyle14error Error
ConstantName1error 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-spring-v2\target\checkstyle-header.txt"
7error Error
AvoidStarImport0error Error
IllegalImport0error Error
RedundantImport0error Error
UnusedImports1error Error
FileLength0error Error
LineLength
  • max: "120"
11error Error
MethodLength0error Error
ParameterNumber0error Error
EmptyForIteratorPad0error Error
NoWhitespaceAfter0error Error
NoWhitespaceBefore0error Error
OperatorWrap8error Error
ParenPad4error Error
TypecastParenPad0error Error
TabCharacter15error Error
WhitespaceAfter3error Error
WhitespaceAround12error Error
ModifierOrder0error Error
RedundantModifier0error Error
AvoidNestedBlocks0error Error
EmptyBlock4error Error
LeftCurly1error Error
NeedBraces6error Error
RightCurly13error Error
AvoidInlineConditionals1error Error
DoubleCheckedLocking0error Error
EmptyStatement0error Error
EqualsHashCode0error Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
2error Error
IllegalInstantiation0error Error
InnerAssignment0error Error
MagicNumber0error Error
MissingSwitchDefault0error Error
RedundantThrows6error Error
SimplifyBooleanExpression1error Error
SimplifyBooleanReturn0error Error
FinalClass0error Error
HideUtilityClassConstructor0error Error
InterfaceIsType0error Error
VisibilityModifier1error Error
ArrayTypeStyle0error Error
FinalParameters105error Error
GenericIllegalRegexp
  • message: "Line has trailing spaces."
  • format: "\s+$"
55error Error
TodoComment0error Error
UpperEll0error Error

Details

org/apache/xbean/spring/context/v2/XBeanBeanDefinitionParserDelegate.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.32
errorMissing a Javadoc comment.34
errorLine has trailing spaces.35
errorMissing a Javadoc comment.36
errorLine has trailing spaces.37
errorLine has trailing spaces.41
errorMissing a Javadoc comment.42
errorParameter readerContext should be final.42
errorMissing a Javadoc comment.47
errorParameter ele should be final.47
errorParameter defaultTypeClassName should be final.47
errorLine has trailing spaces.50
error'}' should be on the same line.50
errorLine has trailing spaces.53
error'}' should be on the same line.53
errorMissing a Javadoc comment.59
errorParameter ele should be final.59
errorParameter beanName should be final.59
errorLine has trailing spaces.64
errorMissing a Javadoc comment.65
errorParameter namespaceUri should be final.65
errorLine has trailing spaces.66
error'||' should be on a new line.66
error'||' should be on a new line.67
error'||' should be on a new line.68
errorLine has trailing spaces.71
errorMissing a Javadoc comment.72
errorParameter element should be final.72
errorMissing a Javadoc comment.76
errorParameter element should be final.76
errorLine has trailing spaces.87
errorMissing a Javadoc comment.88
errorParameter candidateEle should be final.88
error'if' is not followed by whitespace.90
errorMissing a Javadoc comment.98
errorParameter message should be final.98
errorParameter source should be final.98
errorMust have at least one statement.105
error'{' is not followed by whitespace.105
error'}' is not preceded with whitespace.105

org/apache/xbean/spring/context/v2/XBeanXmlBeanFactory.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.27
errorParameter resource should be final.35
errorRedundant throws: 'BeansException' is unchecked exception.35
errorParameter resource should be final.46
errorParameter parentBeanFactory should be final.46
errorRedundant throws: 'BeansException' is unchecked exception.46
errorParameter resource should be final.57
errorParameter xmlPreprocessors should be final.57
errorRedundant throws: 'BeansException' is unchecked exception.57
errorLine is longer than 120 characters.69
errorParameter resource should be final.69
errorParameter parentBeanFactory should be final.69
errorParameter xmlPreprocessors should be final.69
errorRedundant throws: 'BeansException' is unchecked exception.69

org/apache/xbean/spring/context/v2/XBeanNamespaceHandler.java

ViolationMessageLine
errorFile does not end with a newline.0
errorLine does not match expected header line of ''.1
errorUnused import - java.lang.reflect.Method.28
errorMissing a Javadoc comment.77
errorMissing a Javadoc comment.78
errorMissing a Javadoc comment.84
errorName 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.84
errorMissing a Javadoc comment.86
errorLine has trailing spaces.87
errorMissing a Javadoc comment.88
errorFirst sentence should end with a period.90
errorLine has trailing spaces.94
errorLine has trailing spaces.95
errorLine has trailing spaces.96
errorLine has trailing spaces.98
errorLine has trailing spaces.99
errorLine has trailing spaces.100
errorLine has trailing spaces.101
errorLine has trailing spaces.103
errorLine has trailing spaces.104
errorLine has trailing spaces.105
errorLine has trailing spaces.106
errorLine has trailing spaces.107
errorLine has trailing spaces.109
errorLine has trailing spaces.110
errorLine has trailing spaces.111
errorLine has trailing spaces.112
errorLine has trailing spaces.113
errorLine has trailing spaces.114
errorLine has trailing spaces.118
errorMissing a Javadoc comment.118
errorLine has trailing spaces.119
errorLine has trailing spaces.120
errorLine has trailing spaces.122
errorLine has trailing spaces.123
errorLine has trailing spaces.124
errorLine has trailing spaces.126
errorLine has trailing spaces.127
errorLine has trailing spaces.128
errorLine has trailing spaces.130
errorLine has trailing spaces.131
errorMissing a Javadoc comment.134
errorMissing a Javadoc comment.136
errorMissing a Javadoc comment.137
errorMissing a Javadoc comment.139
errorMissing a Javadoc comment.140
errorMissing a Javadoc comment.141
errorVariable 'namedConstructorArgs' must be private and have accessor methods.141
errorMissing a Javadoc comment.143
errorLine has trailing spaces.144
errorMissing a Javadoc comment.145
errorMissing a Javadoc comment.147
errorMissing a Javadoc comment.150
errorParameter element should be final.150
errorParameter parserContext should be final.150
error'parserContext' hides a field.150
errorMissing a Javadoc comment.160
errorParameter node should be final.160
errorParameter definition should be final.160
errorParameter parserContext should be final.160
error'parserContext' hides a field.160
errorAvoid inline conditionals.162
error'+' should be on a new line.162
errorParameter context should be final.170
errorExpected @param tag for 'context'.170
errorParameter reader should be final.170
errorExpected @param tag for 'reader'.170
errorFirst sentence should end with a period.175
errorParameter beanFactory should be final.178
errorExpected @param tag for 'beanFactory'.178
errorFirst sentence should end with a period.182
errorExpected an @return tag.185
errorParameter element should be final.185
errorExpected @param tag for 'element'.185
errorParameter parentClass should be final.185
errorExpected @param tag for 'parentClass'.185
errorParameter property should be final.185
errorExpected @param tag for 'property'.185
errorLine is longer than 120 characters.200
errorMissing a Javadoc comment.200
errorParameter element should be final.200
errorParameter metadata should be final.200
errorParameter className should be final.200
errorMissing a Javadoc comment.216
errorParameter bd should be final.216
errorParameter beanName should be final.216
error'}' should be on the same line.229
error'}' should be on the same line.233
errorLine has trailing spaces.240
errorFirst sentence should end with a period.241
errorExpected an @return tag.244
errorParameter element should be final.244
errorExpected @param tag for 'element'.244
errorLine is longer than 120 characters.255
error'if' construct must use '{}'s.258
error'else' construct must use '{}'s.259
errorMissing a Javadoc comment.263
errorParameter className should be final.263
errorParameter element should be final.263
errorFirst sentence should end with a period.276
errorExpected an @return tag.279
errorParameter element should be final.279
errorExpected @param tag for 'element'.279
errorFirst sentence should end with a period.290
errorParameter definition should be final.293
errorExpected @param tag for 'definition'.293
errorParameter metadata should be final.293
errorExpected @param tag for 'metadata'.293
errorParameter className should be final.293
errorExpected @param tag for 'className'.293
errorParameter element should be final.294
errorExpected @param tag for 'element'.294
errorMissing a Javadoc comment.342
errorParameter definition should be final.342
errorParameter metadata should be final.342
errorParameter element should be final.342
error'}' should be on the same line.347
error'}' should be on the same line.362
errorLine has trailing spaces.370
errorMissing a Javadoc comment.377
errorParameter definition should be final.377
errorParameter metadata should be final.377
errorParameter element should be final.377
errorParameter attribute should be final.378
errorParameter definition should be final.387
errorExpected @param tag for 'definition'.387
errorParameter metadata should be final.387
errorExpected @param tag for 'metadata'.387
errorParameter element should be final.387
errorExpected @param tag for 'element'.387
errorParameter localName should be final.388
errorExpected @param tag for 'localName'.388
errorParameter value should be final.388
errorExpected @param tag for 'value'.388
error',' is not followed by whitespace.393
errorMissing a Javadoc comment.397
errorParameter value should be final.397
errorParameter propertyEditor should be final.397
error'if' construct must use '{}'s.398
error'if' is not followed by whitespace.420
error'(' is followed by whitespace.420
error'!=' is not preceded with whitespace.420
error'!=' is not followed by whitespace.420
error')' is preceded with whitespace.420
errorLine contains a tab character.421
errorLine contains a tab character.422
errorLine contains a tab character.423
errorLine has trailing spaces.425
errorLine has trailing spaces.432
errorMissing a Javadoc comment.432
errorParameter propertyEditor should be final.432
errorLine contains a tab character.432
errorLine contains a tab character.433
errorLine contains a tab character.434
error'if' is not followed by whitespace.434
error'(' is followed by whitespace.434
error'==' is not preceded with whitespace.434
error'==' is not followed by whitespace.434
error')' is preceded with whitespace.434
errorLine contains a tab character.435
errorLine contains a tab character.436
errorLine has trailing spaces.437
errorLine contains a tab character.437
errorLine contains a tab character.438
errorLine contains a tab character.439
error'cast' is not followed by whitespace.439
errorLine contains a tab character.440
error'{' is not preceded with whitespace.440
errorLine is longer than 120 characters.441
errorLine contains a tab character.441
error'cast' is not followed by whitespace.441
error'+' is not preceded with whitespace.441
error'+' is not followed by whitespace.441
errorLine contains a tab character.442
errorLine contains a tab character.443
errorMissing a Javadoc comment.445
errorParameter element should be final.445
errorFirst sentence should end with a period.453
errorParameter definition should be final.457
errorExpected @param tag for 'definition'.457
errorParameter metadata should be final.457
errorExpected @param tag for 'metadata'.457
errorParameter className should be final.458
errorExpected @param tag for 'className'.458
errorParameter element should be final.458
errorExpected @param tag for 'element'.458
error'}' should be on the same line.482
errorLine is longer than 120 characters.487
error'}' should be on the same line.518
error'{' should be on the previous line.520
errorExpected an @return tag.539
errorLine is longer than 120 characters.539
errorParameter metadata should be final.539
errorExpected @param tag for 'metadata'.539
errorParameter className should be final.539
errorExpected @param tag for 'className'.539
errorParameter element should be final.539
errorExpected @param tag for 'element'.539
errorLine is longer than 120 characters.543
errorFirst sentence should end with a period.549
errorExpected an @return tag.552
errorParameter className should be final.552
errorExpected @param tag for 'className'.552
errorParameter localName should be final.552
errorExpected @param tag for 'localName'.552
errorExpected an @return tag.570
errorLine is longer than 120 characters.570
errorParameter metadata should be final.570
errorExpected @param tag for 'metadata'.570
errorParameter element should be final.570
errorExpected @param tag for 'element'.570
errorParameter propertyName should be final.570
errorExpected @param tag for 'propertyName'.570
errorParameter propertyType should be final.570
errorExpected @param tag for 'propertyType'.570
errorMissing a Javadoc comment.580
errorParameter element should be final.580
errorParameter name should be final.580
errorMissing a Javadoc comment.584
errorParameter metadata should be final.584
errorParameter element should be final.584
errorParameter name should be final.584
error'if' construct must use '{}'s.591
error'if' construct must use '{}'s.592
error'if' construct must use '{}'s.614
errorMissing a Javadoc comment.627
errorParameter type should be final.627
errorFirst sentence should end with a period.631
errorExpected an @return tag.634
errorParameter type should be final.634
errorExpected @param tag for 'type'.634
errorFirst sentence should end with a period.638
errorExpected an @return tag.641
errorParameter element should be final.641
errorExpected @param tag for 'element'.641
errorLine has trailing spaces.650
error'||' should be on a new line.650
errorLine has trailing spaces.651
error'||' should be on a new line.651
error'||' should be on a new line.652
errorFirst sentence should end with a period.670
errorParameter namespaceURI should be final.681
errorParameter localName should be final.681
error'}' should be on the same line.706
errorFirst sentence should end with a period.714
errorExpected an @return tag.717
errorParameter uri should be final.717
errorExpected @param tag for 'uri'.717
errorMust have at least one statement.722
errorMissing a Javadoc comment.737
errorParameter uri should be final.737
errorMissing a Javadoc comment.741
errorParameter definitionHolder should be final.741
errorParameter metaData should be final.741
errorParameter element should be final.742
errorLine is longer than 120 characters.809
errorLine is longer than 120 characters.815
errorLine has trailing spaces.816
errorFirst sentence should end with a period.847
errorExpected an @return tag.850
errorParameter element should be final.850
errorExpected @param tag for 'element'.850

org/apache/xbean/spring/context/v2/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/xbean/spring/context/v2/XBeanBeanDefinitionDocumentReader.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.25
errorMissing a Javadoc comment.27
errorParameter readerContext should be final.27
errorParameter root should be final.27
errorMissing a Javadoc comment.33
errorParameter root should be final.33
errorParameter delegate should be final.33
errorLine has trailing spaces.35
error'&&' should be on a new line.35
errorLine has trailing spaces.42

org/apache/xbean/spring/context/v2/XBeanXmlBeanDefinitionReader.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
errorLine is longer than 120 characters.53
errorParameter applicationContext should be final.53
errorParameter beanFactory should be final.53
errorParameter xmlPreprocessors should be final.53
errorParameter doc should be final.77
errorParameter resource should be final.77
errorRedundant throws: 'BeansException' is unchecked exception.77
errorMissing a Javadoc comment.82
errorLine has trailing spaces.89
errorMissing a Javadoc comment.90
errorParameter doc should be final.90

org/apache/xbean/spring/context/v2/XBeanNamespaceHandlerResolver.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.23
errorMissing a Javadoc comment.25
errorParameter classLoader should be final.25
errorMissing a Javadoc comment.29
errorParameter namespaceUri should be final.29

org/apache/xbean/spring/context/v2/XBeanQNameHelper.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.32
errorMissing a Javadoc comment.34
errorLine has trailing spaces.35
errorMissing a Javadoc comment.36
errorMissing a Javadoc comment.38
errorLine has trailing spaces.39
errorMissing a Javadoc comment.40
errorParameter readerContext should be final.40
errorLine has trailing spaces.43
errorParameter definition should be final.50
errorExpected @param tag for 'definition'.50
errorParameter element should be final.50
errorExpected @param tag for 'element'.50
errorMissing a Javadoc comment.64
errorParameter className should be final.64
errorRedundant throws: 'BeanDefinitionStoreException' is unchecked exception.64
error'}' should be on the same line.73
error'}' should be on the same line.79
errorFirst sentence should end with a period.86
errorExpected an @return tag.90
errorParameter name should be final.90
errorExpected @param tag for 'name'.90
errorExpected @throws tag for 'ClassNotFoundException'.90
error'}' should be on the same line.95
errorMust have at least one statement.96
error'}' should be on the same line.103
errorMust have at least one statement.104
errorMissing a Javadoc comment.110
errorExpression can be simplified.111
errorLine has trailing spaces.117