Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos info Warnings warning Errors error
30 0 0 34

Rules

Rules Violations Severity
NewlineAtEndOfFile 4 error Error
Translation 0 error Error
LocalFinalVariableName 0 error Error
LocalVariableName 0 error Error
MethodName 0 error Error
PackageName 0 error Error
ParameterName 0 error Error
StaticVariableName 0 error Error
TypeName 0 error Error
MemberName 0 error Error
AvoidStarImport 0 error Error
IllegalImport 0 error Error
RedundantImport 0 error Error
UnusedImports 0 error Error
FileLength 0 error Error
ParameterNumber 0 error Error
EmptyForIteratorPad 0 error Error
NoWhitespaceAfter 0 error Error
NoWhitespaceBefore 0 error Error
TabCharacter 8 error Error
WhitespaceAfter 2 error Error
WhitespaceAround 2 error Error
ModifierOrder 0 error Error
RedundantModifier 0 error Error
AvoidNestedBlocks 0 error Error
EmptyBlock 4 error Error
NeedBraces 0 error Error
LeftCurly
  • option: "nl"
0 error Error
RightCurly
  • option: "alone"
0 error Error
DoubleCheckedLocking 1 error Error
EmptyStatement 0 error Error
EqualsHashCode 0 error Error
IllegalInstantiation 0 error Error
InnerAssignment 0 error Error
MagicNumber 3 error Error
MissingSwitchDefault 0 error Error
RedundantThrows 0 error Error
SimplifyBooleanExpression 0 error Error
SimplifyBooleanReturn 0 error Error
FinalClass 1 error Error
HideUtilityClassConstructor 0 error Error
InterfaceIsType 0 error Error
VisibilityModifier 8 error Error
TodoComment 0 error Error
UpperEll 0 error Error
Header
  • ignoreLines: "2"
  • headerFile: "/opt/j2ee/domains/mulesource.com/bamboo/webapps/atlassian-bamboo/data/bamboo-2.0/xml-data/build-dir/MULE-RELSITE/transports/tcp/target/checkstyle-header.txt"
1 error Error

Details

org/mule/transport/tcp/TcpMessageRequesterFactory.java

Violation Message Line
error File does not end with a newline. 0

org/mule/transport/tcp/AbstractTcpSocketFactory.java

Violation Message Line
error File does not end with a newline. 0
error 'if' is not followed by whitespace. 51

org/mule/transport/tcp/protocols/DirectProtocol.java

Violation Message Line
error Variable 'bufferSize' must be private and have accessor methods. 39

org/mule/transport/tcp/protocols/MuleMessageWorker.java

Violation Message Line
error Class MuleMessageWorker should be declared as final. 24

org/mule/transport/tcp/TcpMessageRequester.java

Violation Message Line
error File does not end with a newline. 0
error 'cast' is not followed by whitespace. 55

org/mule/transport/tcp/TcpConnector.java

Violation Message Line
error '1000' is a magic number. 83
error Must have at least one statement. 122

org/mule/transport/tcp/protocols/AbstractByteProtocol.java

Violation Message Line
error Line does not match expected header line of ' * --------------------------------------------------------------------------------------'. 3
error Must have at least one statement. 143

org/mule/transport/tcp/TcpMessageDispatcher.java

Violation Message Line
error Line contains a tab character. 74

org/mule/transport/tcp/config/TcpNamespaceHandler.java

Violation Message Line
error File does not end with a newline. 0

org/mule/transport/tcp/i18n/TcpMessages.java

Violation Message Line
error '3' is a magic number. 35
error '4' is a magic number. 40

org/mule/transport/tcp/TcpMessageReceiver.java

Violation Message Line
error Variable 'socket' must be private and have accessor methods. 217
error Variable 'dataIn' must be private and have accessor methods. 218
error Variable 'underlyingIn' must be private and have accessor methods. 219
error Variable 'dataOut' must be private and have accessor methods. 220
error Variable 'protocol' must be private and have accessor methods. 221
error Variable 'dataInWorkFinished' must be private and have accessor methods. 222
error Variable 'notify' must be private and have accessor methods. 223
error Line contains a tab character. 275
error The double-checked locking idiom is broken and should be avoided. 288
error Must have at least one statement. 295
error Must have at least one statement. 343
error 'cast' is not followed by whitespace. 355
error Line contains a tab character. 357
error 'if' is not followed by whitespace. 361
error Line contains a tab character. 385
error Line contains a tab character. 386
error Line contains a tab character. 387
error Line contains a tab character. 389
error Line contains a tab character. 391