Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos infoWarnings warningErrors error
2500251

Rules

RulesViolationsSeverity
PackageHtml5error Error
NewlineAtEndOfFile0error Error
Translation0error Error
JavadocMethod78error Error
JavadocType2error Error
JavadocVariable30error Error
JavadocStyle2error Error
ConstantName2error Error
LocalFinalVariableName0error Error
LocalVariableName0error Error
MemberName0error Error
MethodName0error Error
PackageName0error Error
ParameterName0error Error
StaticVariableName0error Error
TypeName0error Error
Header
  • headerFile: "/home/anthill/anthill3/agent/var/jobs/projects/Geronimo_Server/modules/geronimo-naming/target/checkstyle-header.txt"
20error Error
AvoidStarImport0error Error
IllegalImport0error Error
RedundantImport0error Error
UnusedImports1error Error
FileLength0error Error
LineLength
  • max: "120"
16error Error
MethodLength0error Error
ParameterNumber0error Error
EmptyForIteratorPad0error Error
NoWhitespaceAfter0error Error
NoWhitespaceBefore0error Error
OperatorWrap0error Error
ParenPad0error Error
TypecastParenPad0error Error
TabCharacter0error Error
WhitespaceAfter1error Error
WhitespaceAround0error Error
ModifierOrder0error Error
RedundantModifier0error Error
AvoidNestedBlocks0error Error
EmptyBlock0error Error
LeftCurly0error Error
NeedBraces9error Error
RightCurly0error Error
AvoidInlineConditionals0error Error
DoubleCheckedLocking0error Error
EmptyStatement0error Error
EqualsHashCode0error Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
0error Error
IllegalInstantiation0error Error
InnerAssignment0error Error
MagicNumber3error Error
MissingSwitchDefault0error Error
RedundantThrows3error Error
SimplifyBooleanExpression0error Error
SimplifyBooleanReturn0error Error
FinalClass0error Error
HideUtilityClassConstructor1error Error
InterfaceIsType0error Error
VisibilityModifier1error Error
ArrayTypeStyle0error Error
FinalParameters75error Error
GenericIllegalRegexp
  • message: "Line has trailing spaces."
  • format: "\s+$"
1error Error
TodoComment1error Error
UpperEll0error Error

Details

org/apache/geronimo/naming/reference/ResourceReference.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.32
errorParameter configId should be final.40
errorParameter abstractNameQuery should be final.40
errorParameter iface should be final.40
errorExpected @param tag for 'iface'.40
errorMissing a Javadoc comment.45
errorMissing a Javadoc comment.49
errorLine is longer than 120 characters.56
errorLine is longer than 120 characters.77
errorLine is longer than 120 characters.78
errorLine is longer than 120 characters.79

org/apache/geronimo/gjndi/JavaCompContextGBean.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.32
errorMissing a Javadoc comment.36
errorMissing a Javadoc comment.40
errorMissing a Javadoc comment.42

org/apache/geronimo/naming/reference/ConfigurationAwareReference.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorComment matches to-do format 'TODO:'.33
errorMissing a Javadoc comment.41
errorMissing a Javadoc comment.42
errorMissing a Javadoc comment.43
errorVariable 'abstractNameQueries' must be private and have accessor methods.43
errorMissing a Javadoc comment.45
errorParameter configId should be final.45
errorParameter abstractNameQuery should be final.45
errorMissing a Javadoc comment.50
errorParameter configId should be final.50
errorParameter abstractNameQueries should be final.50
errorMissing a Javadoc comment.55
errorMissing a Javadoc comment.61
errorLine is longer than 120 characters.70

org/apache/geronimo/gjndi/binding/GBeanBinding.java

ViolationMessageLine
errorLine does not match expected header line of ''.1
errorMissing a Javadoc comment.44
errorName 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.44
errorMissing a Javadoc comment.46
errorMissing a Javadoc comment.47
errorMissing a Javadoc comment.48
errorMissing a Javadoc comment.49
errorMissing a Javadoc comment.51
errorMissing a Javadoc comment.52
errorMissing a Javadoc comment.54
errorParameter context should be final.54
errorParameter name should be final.54
errorParameter abstractNameQuery should be final.54
errorParameter kernel should be final.54
errorMissing a Javadoc comment.61
errorMissing a Javadoc comment.77
errorMissing a Javadoc comment.81
errorMissing a Javadoc comment.85
errorMissing a Javadoc comment.95
errorMissing a Javadoc comment.96
errorParameter abstractName should be final.96
errorMissing a Javadoc comment.104
errorParameter abstractName should be final.104
errorMissing a Javadoc comment.108
errorParameter abstractName should be final.108
errorMissing a Javadoc comment.112
errorParameter abstractName should be final.112
errorMissing a Javadoc comment.116
errorParameter abstractName should be final.116
errorParameter abstractName should be final.127
errorMissing a Javadoc comment.147
errorParameter abstractName should be final.147
errorParameter value should be final.147
errorParameter abstractName should be final.159
error'if' construct must use '{}'s.171
errorMissing a Javadoc comment.181
errorParameter abstractName should be final.181
errorParameter value should be final.181
errorMissing a Javadoc comment.201
errorParameter map should be final.201
error'if' construct must use '{}'s.202
errorParameter abstractName should be final.214
errorParameter value should be final.214
errorExpected @throws tag for 'NamingException'.214
errorMissing a Javadoc comment.218
errorMissing a Javadoc comment.220

org/apache/geronimo/naming/reference/ORBReference.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.32
errorParameter configId should be final.32
errorParameter abstractNameQuery should be final.32
errorMissing a Javadoc comment.36
errorMissing a Javadoc comment.40
errorLine is longer than 120 characters.46

org/apache/geronimo/naming/reference/KernelReference.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.25
errorMissing a Javadoc comment.29
errorRedundant throws: 'IllegalStateException' is unchecked exception.29

org/apache/geronimo/naming/enc/EnterpriseNamingContext.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorUtility classes should not have a public or default constructor.38
errorLine is longer than 120 characters.40
errorMissing a Javadoc comment.40
errorParameter componentContext should be final.40
errorParameter userTransaction should be final.40
errorParameter kernel should be final.40
errorParameter classLoader should be final.40
errorMissing a Javadoc comment.75
errorParameter context should be final.75

org/apache/geronimo/naming/reference/EntityManagerFactoryReference.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.37
errorParameter configId should be final.37
errorParameter abstractNameQuery should be final.37
errorMissing a Javadoc comment.41
errorMissing a Javadoc comment.45
errorLine is longer than 120 characters.52

org/apache/geronimo/naming/reference/KernelAwareReference.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.25

org/apache/geronimo/gjndi/binding/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/geronimo/gjndi/WritableContextGBean.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.32
errorParameter nameInNamespace should be final.32
errorMissing a Javadoc comment.36
errorMissing a Javadoc comment.38

org/apache/geronimo/naming/reference/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/geronimo/gjndi/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/geronimo/naming/reference/PersistenceContextReference.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.36
errorMissing a Javadoc comment.37
errorLine is longer than 120 characters.39
errorMissing a Javadoc comment.39
errorParameter configId should be final.39
errorParameter abstractNameQuery should be final.39
errorParameter transactionScoped should be final.39
errorParameter properties should be final.39
errorMissing a Javadoc comment.45
errorLine has trailing spaces.48
errorMissing a Javadoc comment.49
errorLine is longer than 120 characters.56
errorLine is longer than 120 characters.61

org/apache/geronimo/gjndi/KernelContextGBean.java

ViolationMessageLine
errorLine does not match expected header line of ''.1
errorMissing a Javadoc comment.48
errorName 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.48
errorMissing a Javadoc comment.50
errorMissing a Javadoc comment.51
errorMissing a Javadoc comment.52
errorMissing a Javadoc comment.53
errorLine is longer than 120 characters.55
errorMissing a Javadoc comment.55
errorParameter nameInNamespace should be final.55
errorParameter abstractNameQuery should be final.55
errorParameter kernel should be final.55
errorMissing a Javadoc comment.61
errorMissing a Javadoc comment.77
errorMissing a Javadoc comment.81
errorMissing a Javadoc comment.85
errorMissing a Javadoc comment.95
errorMissing a Javadoc comment.96
errorParameter abstractName should be final.96
errorMissing a Javadoc comment.104
errorParameter abstractName should be final.104
errorMissing a Javadoc comment.108
errorParameter abstractName should be final.108
errorMissing a Javadoc comment.112
errorParameter abstractName should be final.112
errorMissing a Javadoc comment.116
errorParameter abstractName should be final.116
errorParameter abstractName should be final.127
errorMissing a Javadoc comment.159
errorMissing a Javadoc comment.161
errorParameter abstractName should be final.161
errorParameter name should be final.161
errorParameter value should be final.161
errorParameter abstractName should be final.179
error'if' construct must use '{}'s.181
error'if' construct must use '{}'s.187
error'if' construct must use '{}'s.205
errorMissing a Javadoc comment.221
errorParameter map should be final.221
error'if' construct must use '{}'s.222
errorMissing a Javadoc comment.226
errorParameter abstractName should be final.226
errorParameter value should be final.226
error'if' construct must use '{}'s.229
error'if' construct must use '{}'s.233
errorParameter abstractName should be final.247
errorParameter value should be final.247
errorExpected @throws tag for 'NamingException'.247
errorParameter abstractName should be final.261
errorParameter name should be final.261
errorParameter value should be final.261
errorExpected @throws tag for 'NamingException'.261
errorMissing a Javadoc comment.265
errorMissing a Javadoc comment.267

org/apache/geronimo/naming/reference/GBeanReference.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorUnused import - org.apache.geronimo.gbean.AbstractNameQuery.25
errorMissing a Javadoc comment.32
errorMissing a Javadoc comment.34
errorParameter configId should be final.34
errorParameter abstractNameQueries should be final.34
errorParameter type should be final.34
errorMissing a Javadoc comment.39
errorMissing a Javadoc comment.43
errorRedundant throws: 'IllegalStateException' is unchecked exception.43
errorLine is longer than 120 characters.48
error'cast' is not followed by whitespace.48

org/apache/geronimo/naming/reference/HandleDelegateReference.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.32
errorParameter configId should be final.32
errorParameter abstractNameQuery should be final.32
errorMissing a Javadoc comment.36
errorMissing a Javadoc comment.40
errorLine is longer than 120 characters.46

org/apache/geronimo/naming/reference/ClassLoaderAwareReference.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.23

org/apache/geronimo/naming/java/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/geronimo/naming/java/RootContext.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.37
errorMissing a Javadoc comment.39
errorMissing a Javadoc comment.43
errorParameter name should be final.43
error'5' is a magic number.45
error'5' is a magic number.59
error'6' is a magic number.63
errorParameter ctx should be final.76

org/apache/geronimo/naming/reference/SimpleAwareReference.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorLine is longer than 120 characters.24
errorMissing a Javadoc comment.25
errorMissing a Javadoc comment.26
errorMissing a Javadoc comment.28
errorRedundant throws: 'IllegalStateException' is unchecked exception.28
errorMissing a Javadoc comment.35
errorParameter kernel should be final.35
errorMissing a Javadoc comment.39
errorMissing a Javadoc comment.46
errorParameter classLoader should be final.46

org/apache/geronimo/gjndi/GlobalContextGBean.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorMissing a Javadoc comment.37
errorParameter kernel should be final.37
errorMissing a Javadoc comment.41
errorMissing a Javadoc comment.46
errorMissing a Javadoc comment.51
errorMissing a Javadoc comment.56
errorParameter abstractName should be final.56
errorParameter value should be final.56
error'if' construct must use '{}'s.59
errorLine is longer than 120 characters.65
errorMissing a Javadoc comment.68
errorMissing a Javadoc comment.70

org/apache/geronimo/naming/java/ComponentContextInterceptor.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1
errorFirst sentence should end with a period.26
errorMissing a Javadoc comment.33
errorMissing a Javadoc comment.34
errorFirst sentence should end with a period.36
errorParameter next should be final.40
errorExpected @param tag for 'next'.40
errorParameter compContext should be final.40
errorMissing a Javadoc comment.47
errorParameter invocation should be final.47

org/apache/geronimo/naming/enc/package.html

ViolationMessageLine
errorMissing package documentation file.0

org/apache/geronimo/naming/reference/SimpleReference.java

ViolationMessageLine
errorMissing a header - not enough lines in file.1