Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 7.2 with sun_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
22 0 0 470

Rules

Category Rule Violations Severity
coding AvoidInlineConditionals 4  Error
EqualsHashCode 1  Error
HiddenField 8  Error
InnerAssignment 1  Error
MagicNumber 3  Error
design DesignForExtension 31  Error
HideUtilityClassConstructor 7  Error
VisibilityModifier 3  Error
imports UnusedImports
  • processJavadoc: "false"
10  Error
javadoc JavadocMethod 40  Error
JavadocPackage 7  Error
JavadocStyle 3  Error
JavadocType 2  Error
JavadocVariable 32  Error
misc FinalParameters 96  Error
NewlineAtEndOfFile 1  Error
modifier RedundantModifier 6  Error
sizes LineLength 117  Error
whitespace EmptyForIteratorPad 1  Error
ParenPad 87  Error
WhitespaceAfter 3  Error
WhitespaceAround 7  Error

Details

org/apache/streams/util/ComponentUtils.java

Severity Category Rule Message Line
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 39
 Error sizes LineLength Line is longer than 80 characters (found 85). 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 40
 Error sizes LineLength Line is longer than 80 characters (found 107). 43
 Error sizes LineLength Line is longer than 80 characters (found 107). 44
 Error misc FinalParameters Parameter entry should be final. 50
 Error misc FinalParameters Parameter queue should be final. 50
 Error whitespace ParenPad '(' is followed by whitespace. 56
 Error whitespace ParenPad ')' is preceded with whitespace. 56
 Error sizes LineLength Line is longer than 80 characters (found 119). 60
 Error sizes LineLength Line is longer than 80 characters (found 119). 61
 Error misc FinalParameters Parameter queue should be final. 67
 Error sizes LineLength Line is longer than 80 characters (found 107). 78
 Error sizes LineLength Line is longer than 80 characters (found 97). 81
 Error sizes LineLength Line is longer than 80 characters (found 132). 82
 Error sizes LineLength Line is longer than 80 characters (found 99). 84
 Error misc FinalParameters Parameter stream should be final. 84
 Error misc FinalParameters Parameter initialWait should be final. 84
 Error misc FinalParameters Parameter secondaryWait should be final. 84
 Error sizes LineLength Line is longer than 80 characters (found 104). 100
 Error misc FinalParameters Parameter domain should be final. 103
 Error javadoc JavadocMethod Expected @throws tag for 'Exception'. 103
 Error coding AvoidInlineConditionals Avoid inline conditionals. 105
 Error sizes LineLength Line is longer than 80 characters (found 96). 114
 Error javadoc JavadocMethod Expected @param tag for '<V>'. 118
 Error misc FinalParameters Parameter name should be final. 118
 Error misc FinalParameters Parameter mbean should be final. 118
 Error sizes LineLength Line is longer than 80 characters (found 138). 123

org/apache/streams/util/GuidUtils.java

Severity Category Rule Message Line
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 31
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error misc FinalParameters Parameter parts should be final. 40
 Error whitespace ParenPad '(' is followed by whitespace. 44
 Error whitespace ParenPad ')' is preceded with whitespace. 44
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 46
 Error sizes LineLength Line is longer than 80 characters (found 94). 51
 Error coding MagicNumber '24' is a magic number. 51

org/apache/streams/util/PropertyUtil.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - com.fasterxml.jackson.databind.node.ValueNode. 26
 Error imports UnusedImports Unused import - org.apache.commons.lang3.StringUtils. 29
 Error imports UnusedImports Unused import - java.util.ArrayList. 31
 Error imports UnusedImports Unused import - java.util.Arrays. 32
 Error imports UnusedImports Unused import - java.util.HashMap. 33
 Error imports UnusedImports Unused import - java.util.List. 35
 Error sizes LineLength Line is longer than 80 characters (found 84). 43
 Error javadoc JavadocVariable Missing a Javadoc comment. 43
 Error javadoc JavadocMethod Missing a Javadoc comment. 45
 Error javadoc JavadocMethod Missing a Javadoc comment. 49
 Error misc FinalParameters Parameter mapper should be final. 49
 Error javadoc JavadocVariable Missing a Javadoc comment. 53
 Error javadoc JavadocMethod Missing a Javadoc comment. 55
 Error misc FinalParameters Parameter mapper should be final. 55
 Error coding HiddenField 'mapper' hides a field. 55
 Error design DesignForExtension Class 'PropertyUtil' looks like designed for extension (can be subclassed), but the method 'flattenToMap' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'PropertyUtil' final or making the method 'flattenToMap' static/final/abstract/empty, or adding allowed annotation for the method. 59
 Error javadoc JavadocMethod Missing a Javadoc comment. 59
 Error misc FinalParameters Parameter object should be final. 59
 Error design DesignForExtension Class 'PropertyUtil' looks like designed for extension (can be subclassed), but the method 'flattenToObjectNode' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'PropertyUtil' final or making the method 'flattenToObjectNode' static/final/abstract/empty, or adding allowed annotation for the method. 63
 Error javadoc JavadocMethod Missing a Javadoc comment. 63
 Error misc FinalParameters Parameter object should be final. 63
 Error design DesignForExtension Class 'PropertyUtil' looks like designed for extension (can be subclassed), but the method 'unflattenMap' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'PropertyUtil' final or making the method 'unflattenMap' static/final/abstract/empty, or adding allowed annotation for the method. 67
 Error javadoc JavadocMethod Missing a Javadoc comment. 67
 Error misc FinalParameters Parameter object should be final. 67
 Error design DesignForExtension Class 'PropertyUtil' looks like designed for extension (can be subclassed), but the method 'unflattenObjectNode' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'PropertyUtil' final or making the method 'unflattenObjectNode' static/final/abstract/empty, or adding allowed annotation for the method. 71
 Error javadoc JavadocMethod Missing a Javadoc comment. 71
 Error misc FinalParameters Parameter object should be final. 71
 Error sizes LineLength Line is longer than 80 characters (found 90). 75
 Error javadoc JavadocMethod Missing a Javadoc comment. 75
 Error misc FinalParameters Parameter mapper should be final. 75
 Error misc FinalParameters Parameter object should be final. 75
 Error sizes LineLength Line is longer than 80 characters (found 105). 78
 Error whitespace WhitespaceAround 'catch' is not followed by whitespace. 79
 Error whitespace ParenPad '(' is followed by whitespace. 79
 Error whitespace ParenPad ')' is preceded with whitespace. 79
 Error sizes LineLength Line is longer than 80 characters (found 88). 85
 Error javadoc JavadocMethod Missing a Javadoc comment. 85
 Error misc FinalParameters Parameter mapper should be final. 85
 Error misc FinalParameters Parameter object should be final. 85
 Error sizes LineLength Line is longer than 80 characters (found 116). 88
 Error whitespace WhitespaceAround 'catch' is not followed by whitespace. 89
 Error whitespace ParenPad '(' is followed by whitespace. 89
 Error whitespace ParenPad ')' is preceded with whitespace. 89
 Error sizes LineLength Line is longer than 80 characters (found 90). 95
 Error javadoc JavadocMethod Missing a Javadoc comment. 95
 Error misc FinalParameters Parameter mapper should be final. 95
 Error misc FinalParameters Parameter object should be final. 95
 Error sizes LineLength Line is longer than 80 characters (found 122). 98
 Error whitespace WhitespaceAround 'catch' is not followed by whitespace. 99
 Error whitespace ParenPad '(' is followed by whitespace. 99
 Error whitespace ParenPad ')' is preceded with whitespace. 99
 Error sizes LineLength Line is longer than 80 characters (found 88). 105
 Error javadoc JavadocMethod Missing a Javadoc comment. 105
 Error misc FinalParameters Parameter mapper should be final. 105
 Error misc FinalParameters Parameter object should be final. 105
 Error sizes LineLength Line is longer than 80 characters (found 122). 108
 Error whitespace WhitespaceAround 'catch' is not followed by whitespace. 109
 Error whitespace ParenPad '(' is followed by whitespace. 109
 Error whitespace ParenPad ')' is preceded with whitespace. 109
 Error sizes LineLength Line is longer than 80 characters (found 83). 121
 Error misc FinalParameters Parameter content should be final. 121
 Error misc FinalParameters Parameter parent should be final. 121
 Error whitespace EmptyForIteratorPad ';' is followed by whitespace. 125
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 128
 Error whitespace ParenPad '(' is followed by whitespace. 128
 Error whitespace ParenPad ')' is preceded with whitespace. 128
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 129
 Error whitespace ParenPad '(' is followed by whitespace. 129
 Error sizes LineLength Line is longer than 80 characters (found 109). 130
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 130
 Error sizes LineLength Line is longer than 80 characters (found 83). 131
 Error whitespace ParenPad '(' is followed by whitespace. 131
 Error sizes LineLength Line is longer than 80 characters (found 108). 132
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 132
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 132
 Error misc FinalParameters Parameter content should be final. 149
 Error misc FinalParameters Parameter parent should be final. 149

org/apache/streams/util/SerializationUtil.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 81). 30
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 33
 Error misc FinalParameters Parameter obj should be final. 44
 Error misc FinalParameters Parameter serialized should be final. 65
 Error sizes LineLength Line is longer than 80 characters (found 81). 69
 Error misc FinalParameters Parameter obj should be final. 84
 Error whitespace ParenPad '(' is followed by whitespace. 85
 Error whitespace ParenPad ')' is preceded with whitespace. 85

org/apache/streams/util/api/requests/backoff/AbstractBackOffStrategy.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocVariable Missing a Javadoc comment. 25
 Error javadoc JavadocVariable Missing a Javadoc comment. 26
 Error javadoc JavadocVariable Missing a Javadoc comment. 27
 Error javadoc JavadocVariable Missing a Javadoc comment. 28
 Error misc FinalParameters Parameter baseBackOffTime should be final. 34
 Error sizes LineLength Line is longer than 80 characters (found 85). 41
 Error sizes LineLength Line is longer than 80 characters (found 99). 42
 Error sizes LineLength Line is longer than 80 characters (found 95). 43
 Error sizes LineLength Line is longer than 80 characters (found 92). 45
 Error misc FinalParameters Parameter baseBackOffTime should be final. 45
 Error misc FinalParameters Parameter maximumNumberOfBackOffAttempts should be final. 45
 Error sizes LineLength Line is longer than 80 characters (found 113). 47
 Error sizes LineLength Line is longer than 80 characters (found 86). 49
 Error sizes LineLength Line is longer than 80 characters (found 133). 50
 Error design DesignForExtension Class 'AbstractBackOffStrategy' looks like designed for extension (can be subclassed), but the method 'backOff' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'AbstractBackOffStrategy' final or making the method 'backOff' static/final/abstract/empty, or adding allowed annotation for the method. 57
 Error sizes LineLength Line is longer than 80 characters (found 93). 64
 Error coding InnerAssignment Inner assignments should be avoided. 64
 Error design DesignForExtension Class 'AbstractBackOffStrategy' looks like designed for extension (can be subclassed), but the method 'reset' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'AbstractBackOffStrategy' final or making the method 'reset' static/final/abstract/empty, or adding allowed annotation for the method. 71
 Error javadoc JavadocStyle First sentence should end with a period. 76
 Error sizes LineLength Line is longer than 80 characters (found 87). 77
 Error sizes LineLength Line is longer than 80 characters (found 99). 79
 Error sizes LineLength Line is longer than 80 characters (found 91). 80
 Error sizes LineLength Line is longer than 80 characters (found 85). 83
 Error coding HiddenField 'baseSleepTime' hides a field. 83

org/apache/streams/util/api/requests/backoff/BackOffException.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 83). 19
 Error sizes LineLength Line is longer than 80 characters (found 91). 20
 Error javadoc JavadocVariable Missing a Javadoc comment. 24
 Error javadoc JavadocVariable Missing a Javadoc comment. 25
 Error javadoc JavadocMethod Missing a Javadoc comment. 27
 Error javadoc JavadocMethod Missing a Javadoc comment. 31
 Error misc FinalParameters Parameter message should be final. 31
 Error javadoc JavadocMethod Missing a Javadoc comment. 35
 Error misc FinalParameters Parameter attemptCount should be final. 35
 Error coding HiddenField 'attemptCount' hides a field. 35
 Error misc FinalParameters Parameter maxSleepTime should be final. 35
 Error misc FinalParameters Parameter message should be final. 46
 Error misc FinalParameters Parameter attemptCount should be final. 46
 Error coding HiddenField 'attemptCount' hides a field. 46
 Error misc FinalParameters Parameter maxSleepTime should be final. 46
 Error sizes LineLength Line is longer than 80 characters (found 109). 53
 Error sizes LineLength Line is longer than 80 characters (found 89). 54
 Error sizes LineLength Line is longer than 80 characters (found 84). 62
 Error sizes LineLength Line is longer than 80 characters (found 91). 63

org/apache/streams/util/api/requests/backoff/BackOffStrategy.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 114). 19
 Error sizes LineLength Line is longer than 80 characters (found 115). 23
 Error sizes LineLength Line is longer than 80 characters (found 106). 26
 Error sizes LineLength Line is longer than 80 characters (found 113). 41
 Error sizes LineLength Line is longer than 80 characters (found 83). 42
 Error modifier RedundantModifier Redundant 'public' modifier. 45
 Error sizes LineLength Line is longer than 80 characters (found 89). 49
 Error modifier RedundantModifier Redundant 'public' modifier. 52

org/apache/streams/util/api/requests/backoff/impl/ConstantTimeBackOffStrategy.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 125). 21
 Error misc FinalParameters Parameter baseBackOffTimeInMiliseconds should be final. 31
 Error javadoc JavadocStyle First sentence should end with a period. 35
 Error sizes LineLength Line is longer than 80 characters (found 83). 37
 Error sizes LineLength Line is longer than 80 characters (found 98). 38
 Error sizes LineLength Line is longer than 80 characters (found 99). 39
 Error sizes LineLength Line is longer than 80 characters (found 95). 40
 Error sizes LineLength Line is longer than 80 characters (found 109). 42
 Error misc FinalParameters Parameter baseBackOffTimeInMiliseconds should be final. 42
 Error misc FinalParameters Parameter maximumNumberOfBackOffAttempts should be final. 42
 Error design DesignForExtension Class 'ConstantTimeBackOffStrategy' looks like designed for extension (can be subclassed), but the method 'calculateBackOffTime' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ConstantTimeBackOffStrategy' final or making the method 'calculateBackOffTime' static/final/abstract/empty, or adding allowed annotation for the method. 46
 Error misc FinalParameters Parameter attemptCount should be final. 47
 Error misc FinalParameters Parameter baseSleepTime should be final. 47

org/apache/streams/util/api/requests/backoff/impl/ExponentialBackOffStrategy.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 104). 21
 Error misc FinalParameters Parameter baseBackOffTimeInSeconds should be final. 29
 Error sizes LineLength Line is longer than 80 characters (found 87). 38
 Error misc FinalParameters Parameter baseBackOffTimeInSeconds should be final. 38
 Error misc FinalParameters Parameter maxNumAttempts should be final. 38
 Error design DesignForExtension Class 'ExponentialBackOffStrategy' looks like designed for extension (can be subclassed), but the method 'calculateBackOffTime' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ExponentialBackOffStrategy' final or making the method 'calculateBackOffTime' static/final/abstract/empty, or adding allowed annotation for the method. 42
 Error misc FinalParameters Parameter attemptCount should be final. 43
 Error misc FinalParameters Parameter baseSleepTime should be final. 43
 Error coding MagicNumber '1000' is a magic number. 44

org/apache/streams/util/api/requests/backoff/impl/LinearTimeBackOffStrategy.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 130). 21
 Error javadoc JavadocMethod Missing a Javadoc comment. 27
 Error misc FinalParameters Parameter baseBackOffTimeInSeconds should be final. 27
 Error sizes LineLength Line is longer than 80 characters (found 83). 31
 Error javadoc JavadocMethod Missing a Javadoc comment. 31
 Error misc FinalParameters Parameter baseBackOffTimeInSeconds should be final. 31
 Error misc FinalParameters Parameter maxAttempts should be final. 31
 Error design DesignForExtension Class 'LinearTimeBackOffStrategy' looks like designed for extension (can be subclassed), but the method 'calculateBackOffTime' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LinearTimeBackOffStrategy' final or making the method 'calculateBackOffTime' static/final/abstract/empty, or adding allowed annotation for the method. 35
 Error misc FinalParameters Parameter attemptCount should be final. 36
 Error misc FinalParameters Parameter baseSleepTime should be final. 36
 Error coding MagicNumber '1000L' is a magic number. 37

org/apache/streams/util/oauth/tokens/AbstractOauthToken.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error design DesignForExtension Class 'AbstractOauthToken' looks like designed for extension (can be subclassed), but the method 'equals' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'AbstractOauthToken' final or making the method 'equals' static/final/abstract/empty, or adding allowed annotation for the method. 30
 Error coding EqualsHashCode Definition of 'equals()' without corresponding definition of 'hashCode()'. 30
 Error misc FinalParameters Parameter object should be final. 31

org/apache/streams/util/oauth/tokens/tokenmanager/SimpleTokenManager.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 115). 21
 Error javadoc JavadocType Type Javadoc comment is missing an @param <T> tag. 23
 Error sizes LineLength Line is longer than 80 characters (found 83). 28
 Error modifier RedundantModifier Redundant 'public' modifier. 30
 Error sizes LineLength Line is longer than 80 characters (found 97). 35
 Error modifier RedundantModifier Redundant 'public' modifier. 37
 Error modifier RedundantModifier Redundant 'public' modifier. 43
 Error modifier RedundantModifier Redundant 'public' modifier. 49

org/apache/streams/util/oauth/tokens/tokenmanager/impl/BasicTokenManager.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 120). 25
 Error sizes LineLength Line is longer than 80 characters (found 129). 26
 Error sizes LineLength Line is longer than 80 characters (found 129). 27
 Error javadoc JavadocStyle Extra HTML tag found: </p> 29
 Error sizes LineLength Line is longer than 80 characters (found 116). 30
 Error javadoc JavadocType Type Javadoc comment is missing an @param <T> tag. 35
 Error javadoc JavadocVariable Missing a Javadoc comment. 37
 Error javadoc JavadocVariable Missing a Javadoc comment. 38
 Error javadoc JavadocMethod Missing a Javadoc comment. 40
 Error misc FinalParameters Parameter tokens should be final. 48
 Error design DesignForExtension Class 'BasicTokenManager' looks like designed for extension (can be subclassed), but the method 'addTokenToPool' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'BasicTokenManager' final or making the method 'addTokenToPool' static/final/abstract/empty, or adding allowed annotation for the method. 58
 Error misc FinalParameters Parameter token should be final. 59
 Error sizes LineLength Line is longer than 80 characters (found 103). 60
 Error design DesignForExtension Class 'BasicTokenManager' looks like designed for extension (can be subclassed), but the method 'addAllTokensToPool' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'BasicTokenManager' final or making the method 'addAllTokensToPool' static/final/abstract/empty, or adding allowed annotation for the method. 63
 Error misc FinalParameters Parameter tokens should be final. 64
 Error design DesignForExtension Class 'BasicTokenManager' looks like designed for extension (can be subclassed), but the method 'getNextAvailableToken' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'BasicTokenManager' final or making the method 'getNextAvailableToken' static/final/abstract/empty, or adding allowed annotation for the method. 72
 Error design DesignForExtension Class 'BasicTokenManager' looks like designed for extension (can be subclassed), but the method 'numAvailableTokens' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'BasicTokenManager' final or making the method 'numAvailableTokens' static/final/abstract/empty, or adding allowed annotation for the method. 86

org/apache/streams/util/schema/FieldType.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 26
 Error javadoc JavadocVariable Missing a Javadoc comment. 27
 Error javadoc JavadocVariable Missing a Javadoc comment. 28
 Error javadoc JavadocVariable Missing a Javadoc comment. 29
 Error javadoc JavadocVariable Missing a Javadoc comment. 30
 Error javadoc JavadocVariable Missing a Javadoc comment. 31

org/apache/streams/util/schema/FieldUtil.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 87). 24
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 26
 Error misc FinalParameters Parameter fieldNode should be final. 33
 Error whitespace ParenPad '(' is followed by whitespace. 35

org/apache/streams/util/schema/FileUtil.java

Severity Category Rule Message Line
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 37
 Error javadoc JavadocVariable Missing a Javadoc comment. 39
 Error sizes LineLength Line is longer than 80 characters (found 87). 47
 Error misc FinalParameters Parameter inputFile should be final. 47
 Error misc FinalParameters Parameter sourceDirectory should be final. 47
 Error sizes LineLength Line is longer than 80 characters (found 93). 52
 Error whitespace ParenPad '(' is followed by whitespace. 52
 Error sizes LineLength Line is longer than 80 characters (found 104). 53
 Error whitespace ParenPad '(' is followed by whitespace. 55
 Error whitespace ParenPad ')' is preceded with whitespace. 55
 Error sizes LineLength Line is longer than 80 characters (found 103). 69
 Error misc FinalParameters Parameter inputFile should be final. 69
 Error misc FinalParameters Parameter originalExtension should be final. 69
 Error misc FinalParameters Parameter newExtension should be final. 69
 Error misc FinalParameters Parameter inputFile should be final. 82
 Error misc FinalParameters Parameter resourceFile should be final. 95
 Error misc FinalParameters Parameter resourceContent should be final. 95
 Error whitespace ParenPad '(' is followed by whitespace. 99
 Error whitespace ParenPad ')' is preceded with whitespace. 99
 Error sizes LineLength Line is longer than 80 characters (found 102). 102
 Error sizes LineLength Line is longer than 80 characters (found 88). 113
 Error misc FinalParameters Parameter config should be final. 113
 Error misc FinalParameters Parameter schemaFiles should be final. 113
 Error whitespace ParenPad '(' is followed by whitespace. 117
 Error sizes LineLength Line is longer than 80 characters (found 83). 120

org/apache/streams/util/schema/GenerationConfig.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 88). 28
 Error sizes LineLength Line is longer than 80 characters (found 82). 51

org/apache/streams/util/schema/Schema.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocVariable Missing a Javadoc comment. 30
 Error javadoc JavadocVariable Missing a Javadoc comment. 31
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error misc FinalParameters Parameter uri should be final. 43
 Error coding HiddenField 'uri' hides a field. 43
 Error misc FinalParameters Parameter content should be final. 43
 Error coding HiddenField 'content' hides a field. 43
 Error misc FinalParameters Parameter parent should be final. 43
 Error coding HiddenField 'parent' hides a field. 43
 Error misc FinalParameters Parameter generate should be final. 43
 Error coding HiddenField 'generate' hides a field. 43
 Error coding AvoidInlineConditionals Avoid inline conditionals. 48
 Error design DesignForExtension Class 'Schema' looks like designed for extension (can be subclassed), but the method 'getId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Schema' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. 51
 Error javadoc JavadocMethod Missing a Javadoc comment. 51
 Error design DesignForExtension Class 'Schema' looks like designed for extension (can be subclassed), but the method 'getUri' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Schema' final or making the method 'getUri' static/final/abstract/empty, or adding allowed annotation for the method. 55
 Error javadoc JavadocMethod Missing a Javadoc comment. 55
 Error design DesignForExtension Class 'Schema' looks like designed for extension (can be subclassed), but the method 'getContent' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Schema' final or making the method 'getContent' static/final/abstract/empty, or adding allowed annotation for the method. 59
 Error javadoc JavadocMethod Missing a Javadoc comment. 59
 Error whitespace ParenPad '(' is followed by whitespace. 68
 Error whitespace ParenPad ')' is preceded with whitespace. 68
 Error whitespace ParenPad '(' is followed by whitespace. 80
 Error whitespace ParenPad ')' is preceded with whitespace. 80
 Error design DesignForExtension Class 'Schema' looks like designed for extension (can be subclassed), but the method 'isGenerated' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Schema' final or making the method 'isGenerated' static/final/abstract/empty, or adding allowed annotation for the method. 87
 Error javadoc JavadocMethod Missing a Javadoc comment. 87
 Error design DesignForExtension Class 'Schema' looks like designed for extension (can be subclassed), but the method 'getParent' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Schema' final or making the method 'getParent' static/final/abstract/empty, or adding allowed annotation for the method. 91
 Error javadoc JavadocMethod Missing a Javadoc comment. 91

org/apache/streams/util/schema/SchemaStore.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 88). 29
 Error javadoc JavadocMethod Missing a Javadoc comment. 37
 Error javadoc JavadocMethod Missing a Javadoc comment. 39
 Error javadoc JavadocMethod Missing a Javadoc comment. 41
 Error javadoc JavadocMethod Missing a Javadoc comment. 43
 Error javadoc JavadocMethod Missing a Javadoc comment. 45
 Error javadoc JavadocMethod Missing a Javadoc comment. 47
 Error javadoc JavadocMethod Missing a Javadoc comment. 49
 Error javadoc JavadocMethod Missing a Javadoc comment. 51
 Error javadoc JavadocMethod Missing a Javadoc comment. 53
 Error sizes LineLength Line is longer than 80 characters (found 87). 55
 Error javadoc JavadocMethod Missing a Javadoc comment. 55
 Error sizes LineLength Line is longer than 80 characters (found 82). 57
 Error javadoc JavadocMethod Missing a Javadoc comment. 57

org/apache/streams/util/schema/SchemaStoreImpl.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 82). 48
 Error javadoc JavadocVariable Missing a Javadoc comment. 48
 Error javadoc JavadocVariable Missing a Javadoc comment. 49
 Error javadoc JavadocVariable Missing a Javadoc comment. 51
 Error design VisibilityModifier Variable 'schemas' must be private and have accessor methods. 51
 Error javadoc JavadocVariable Missing a Javadoc comment. 52
 Error design VisibilityModifier Variable 'fragmentResolver' must be private and have accessor methods. 52
 Error javadoc JavadocVariable Missing a Javadoc comment. 53
 Error design VisibilityModifier Variable 'contentResolver' must be private and have accessor methods. 53
 Error javadoc JavadocMethod Missing a Javadoc comment. 55
 Error design DesignForExtension Class 'SchemaStoreImpl' looks like designed for extension (can be subclassed), but the method 'create' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SchemaStoreImpl' final or making the method 'create' static/final/abstract/empty, or adding allowed annotation for the method. 58
 Error misc FinalParameters Parameter uri should be final. 59
 Error sizes LineLength Line is longer than 80 characters (found 127). 66
 Error whitespace ParenPad '(' is followed by whitespace. 69
 Error whitespace ParenPad '(' is followed by whitespace. 72
 Error whitespace ParenPad '(' is followed by whitespace. 79
 Error whitespace ParenPad ')' is preceded with whitespace. 79
 Error whitespace ParenPad '(' is followed by whitespace. 90
 Error whitespace ParenPad ')' is preceded with whitespace. 90
 Error whitespace ParenPad '(' is followed by whitespace. 91
 Error whitespace ParenPad ')' is preceded with whitespace. 91
 Error whitespace ParenPad '(' is followed by whitespace. 96
 Error whitespace ParenPad ')' is preceded with whitespace. 96
 Error design DesignForExtension Class 'SchemaStoreImpl' looks like designed for extension (can be subclassed), but the method 'create' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SchemaStoreImpl' final or making the method 'create' static/final/abstract/empty, or adding allowed annotation for the method. 113
 Error misc FinalParameters Parameter parent should be final. 114
 Error misc FinalParameters Parameter path should be final. 114
 Error coding AvoidInlineConditionals Avoid inline conditionals. 120
 Error sizes LineLength Line is longer than 80 characters (found 124). 123
 Error design DesignForExtension Class 'SchemaStoreImpl' looks like designed for extension (can be subclassed), but the method 'selfReferenceWithoutParentFile' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SchemaStoreImpl' final or making the method 'selfReferenceWithoutParentFile' static/final/abstract/empty, or adding allowed annotation for the method. 131
 Error javadoc JavadocMethod Missing a Javadoc comment. 131
 Error misc FinalParameters Parameter parent should be final. 131
 Error misc FinalParameters Parameter path should be final. 131
 Error sizes LineLength Line is longer than 80 characters (found 125). 132
 Error design DesignForExtension Class 'SchemaStoreImpl' looks like designed for extension (can be subclassed), but the method 'clearCache' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SchemaStoreImpl' final or making the method 'clearCache' static/final/abstract/empty, or adding allowed annotation for the method. 135
 Error design DesignForExtension Class 'SchemaStoreImpl' looks like designed for extension (can be subclassed), but the method 'getSize' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SchemaStoreImpl' final or making the method 'getSize' static/final/abstract/empty, or adding allowed annotation for the method. 140
 Error design DesignForExtension Class 'SchemaStoreImpl' looks like designed for extension (can be subclassed), but the method 'getById' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SchemaStoreImpl' final or making the method 'getById' static/final/abstract/empty, or adding allowed annotation for the method. 145
 Error misc FinalParameters Parameter id should be final. 146
 Error whitespace ParenPad '(' is followed by whitespace. 147
 Error whitespace ParenPad ')' is preceded with whitespace. 147
 Error whitespace ParenPad '(' is followed by whitespace. 148
 Error whitespace ParenPad ')' is preceded with whitespace. 148
 Error design DesignForExtension Class 'SchemaStoreImpl' looks like designed for extension (can be subclassed), but the method 'getByUri' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SchemaStoreImpl' final or making the method 'getByUri' static/final/abstract/empty, or adding allowed annotation for the method. 155
 Error misc FinalParameters Parameter uri should be final. 156
 Error whitespace ParenPad '(' is followed by whitespace. 157
 Error whitespace ParenPad ')' is preceded with whitespace. 157
 Error whitespace ParenPad '(' is followed by whitespace. 158
 Error whitespace ParenPad ')' is preceded with whitespace. 158
 Error design DesignForExtension Class 'SchemaStoreImpl' looks like designed for extension (can be subclassed), but the method 'getFileUriCount' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SchemaStoreImpl' final or making the method 'getFileUriCount' static/final/abstract/empty, or adding allowed annotation for the method. 165
 Error whitespace ParenPad '(' is followed by whitespace. 168
 Error whitespace ParenPad ')' is preceded with whitespace. 168
 Error whitespace ParenPad '(' is followed by whitespace. 169
 Error whitespace ParenPad ')' is preceded with whitespace. 169
 Error design DesignForExtension Class 'SchemaStoreImpl' looks like designed for extension (can be subclassed), but the method 'getHttpUriCount' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SchemaStoreImpl' final or making the method 'getHttpUriCount' static/final/abstract/empty, or adding allowed annotation for the method. 176
 Error whitespace ParenPad '(' is followed by whitespace. 179
 Error whitespace ParenPad ')' is preceded with whitespace. 179
 Error whitespace ParenPad '(' is followed by whitespace. 180
 Error whitespace ParenPad ')' is preceded with whitespace. 180
 Error design DesignForExtension Class 'SchemaStoreImpl' looks like designed for extension (can be subclassed), but the method 'getSchemaIterator' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SchemaStoreImpl' final or making the method 'getSchemaIterator' static/final/abstract/empty, or adding allowed annotation for the method. 187
 Error design DesignForExtension Class 'SchemaStoreImpl' looks like designed for extension (can be subclassed), but the method 'resolveProperties' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SchemaStoreImpl' final or making the method 'resolveProperties' static/final/abstract/empty, or adding allowed annotation for the method. 194
 Error sizes LineLength Line is longer than 80 characters (found 95). 195
 Error misc FinalParameters Parameter schema should be final. 195
 Error misc FinalParameters Parameter fieldNode should be final. 195
 Error misc FinalParameters Parameter resourceId should be final. 195
 Error sizes LineLength Line is longer than 80 characters (found 124). 212
 Error whitespace ParenPad '(' is followed by whitespace. 216
 Error whitespace ParenPad ')' is preceded with whitespace. 216
 Error sizes LineLength Line is longer than 80 characters (found 111). 230
 Error whitespace ParenPad ')' is preceded with whitespace. 230
 Error sizes LineLength Line is longer than 80 characters (found 82). 236
 Error sizes LineLength Line is longer than 80 characters (found 101). 238
 Error sizes LineLength Line is longer than 80 characters (found 88). 241
 Error sizes LineLength Line is longer than 80 characters (found 103). 242
 Error sizes LineLength Line is longer than 80 characters (found 92). 252
 Error sizes LineLength Line is longer than 80 characters (found 90). 267
 Error misc FinalParameters Parameter schema should be final. 267
 Error misc FinalParameters Parameter fieldNode should be final. 267
 Error misc FinalParameters Parameter resourceId should be final. 267
 Error whitespace ParenPad '(' is followed by whitespace. 272
 Error whitespace ParenPad ')' is preceded with whitespace. 272
 Error sizes LineLength Line is longer than 80 characters (found 109). 282
 Error whitespace ParenPad '(' is followed by whitespace. 286
 Error whitespace ParenPad ')' is preceded with whitespace. 286
 Error sizes LineLength Line is longer than 80 characters (found 111). 300
 Error whitespace ParenPad ')' is preceded with whitespace. 300
 Error sizes LineLength Line is longer than 80 characters (found 82). 306
 Error sizes LineLength Line is longer than 80 characters (found 96). 308
 Error sizes LineLength Line is longer than 80 characters (found 83). 311
 Error sizes LineLength Line is longer than 80 characters (found 93). 312
 Error design DesignForExtension Class 'SchemaStoreImpl' looks like designed for extension (can be subclassed), but the method 'compare' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SchemaStoreImpl' final or making the method 'compare' static/final/abstract/empty, or adding allowed annotation for the method. 328
 Error misc FinalParameters Parameter left should be final. 329
 Error misc FinalParameters Parameter right should be final. 329
 Error whitespace ParenPad '(' is followed by whitespace. 331
 Error whitespace ParenPad '(' is followed by whitespace. 336
 Error whitespace ParenPad ')' is preceded with whitespace. 336
 Error whitespace ParenPad '(' is followed by whitespace. 338
 Error whitespace ParenPad '(' is followed by whitespace. 343
 Error whitespace ParenPad ')' is preceded with whitespace. 343
 Error whitespace ParenPad '(' is followed by whitespace. 345
 Error whitespace ParenPad '(' is followed by whitespace. 350
 Error whitespace ParenPad ')' is preceded with whitespace. 350
 Error sizes LineLength Line is longer than 80 characters (found 81). 353
 Error whitespace ParenPad '(' is followed by whitespace. 353
 Error whitespace ParenPad '(' is followed by whitespace. 357
 Error whitespace ParenPad ')' is preceded with whitespace. 357
 Error whitespace ParenPad '(' is followed by whitespace. 360
 Error sizes LineLength Line is longer than 80 characters (found 85). 364
 Error whitespace ParenPad '(' is followed by whitespace. 365
 Error whitespace ParenPad ')' is preceded with whitespace. 365
 Error whitespace ParenPad '(' is followed by whitespace. 368
 Error sizes LineLength Line is longer than 80 characters (found 82). 369
 Error sizes LineLength Line is longer than 80 characters (found 101). 371
 Error sizes LineLength Line is longer than 80 characters (found 104). 373
 Error sizes LineLength Line is longer than 80 characters (found 86). 374
 Error whitespace ParenPad '(' is followed by whitespace. 381
 Error whitespace ParenPad ')' is preceded with whitespace. 381
 Error whitespace ParenPad '(' is followed by whitespace. 384
 Error sizes LineLength Line is longer than 80 characters (found 82). 385
 Error sizes LineLength Line is longer than 80 characters (found 101). 387
 Error sizes LineLength Line is longer than 80 characters (found 104). 389
 Error sizes LineLength Line is longer than 80 characters (found 85). 390
 Error whitespace ParenPad '(' is followed by whitespace. 400
 Error whitespace ParenPad ')' is preceded with whitespace. 400

org/apache/streams/util/schema/SchemaUtil.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - com.fasterxml.jackson.databind.JsonNode. 21
 Error imports UnusedImports Unused import - com.fasterxml.jackson.databind.node.JsonNodeType. 23
 Error imports UnusedImports Unused import - java.util.Iterator. 29
 Error imports UnusedImports Unused import - java.util.Map. 30
 Error sizes LineLength Line is longer than 80 characters (found 83). 35
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 37
 Error sizes LineLength Line is longer than 80 characters (found 81). 39
 Error javadoc JavadocVariable Missing a Javadoc comment. 39
 Error javadoc JavadocVariable Missing a Javadoc comment. 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 41
 Error sizes LineLength Line is longer than 80 characters (found 95). 43
 Error javadoc JavadocMethod Missing a Javadoc comment. 43
 Error misc FinalParameters Parameter parentQualifiedName should be final. 43
 Error misc FinalParameters Parameter childSimpleName should be final. 43
 Error sizes LineLength Line is longer than 80 characters (found 84). 44
 Error sizes LineLength Line is longer than 80 characters (found 100). 45
 Error coding AvoidInlineConditionals Avoid inline conditionals. 45
 Error misc FinalParameters Parameter schemaUrl should be final. 53

org/apache/streams/util/schema/UriUtil.java

Severity Category Rule Message Line
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 29
 Error javadoc JavadocMethod Missing a Javadoc comment. 31
 Error misc FinalParameters Parameter id should be final. 31
 Error javadoc JavadocMethod Missing a Javadoc comment. 35
 Error misc FinalParameters Parameter id should be final. 35
 Error misc FinalParameters Parameter absolute should be final. 45
 Error misc FinalParameters Parameter relativePart should be final. 45
 Error whitespace ParenPad '(' is followed by whitespace. 46
 Error whitespace ParenPad '(' is followed by whitespace. 51
 Error whitespace ParenPad ')' is preceded with whitespace. 51