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
5 0 0 385

Rules

Category Rule Violations Severity
blocks LeftCurly 2  Error
coding HiddenField 35  Error
MagicNumber 6  Error
SimplifyBooleanExpression 3  Error
design DesignForExtension 55  Error
VisibilityModifier 8  Error
imports UnusedImports
  • processJavadoc: "false"
13  Error
javadoc JavadocMethod 43  Error
JavadocPackage 2  Error
JavadocStyle 31  Error
JavadocType 4  Error
JavadocVariable 34  Error
misc FinalParameters 53  Error
NewlineAtEndOfFile 2  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
39  Error
sizes LineLength 36  Error
whitespace OperatorWrap 1  Error
ParenPad 8  Error
WhitespaceAround 10  Error

Details

org/apache/streams/cassandra/CassandraClient.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 46
 Error javadoc JavadocVariable Missing a Javadoc comment. 48
 Error javadoc JavadocVariable Missing a Javadoc comment. 51
 Error javadoc JavadocVariable Missing a Javadoc comment. 52
 Error javadoc JavadocVariable Missing a Javadoc comment. 54
 Error design VisibilityModifier Variable 'config' must be private and have accessor methods. 54
 Error javadoc JavadocMethod Missing a Javadoc comment. 56
 Error misc FinalParameters Parameter config should be final. 56
 Error coding HiddenField 'config' hides a field. 56
 Error design DesignForExtension Class 'CassandraClient' looks like designed for extension (can be subclassed), but the method 'start' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraClient' final or making the method 'start' static/final/abstract/empty, or adding allowed annotation for the method. 61
 Error javadoc JavadocMethod Missing a Javadoc comment. 61
 Error whitespace WhitespaceAround '*' is not preceded with whitespace. 73
 Error whitespace WhitespaceAround '*' is not followed by whitespace. 73
 Error coding MagicNumber '10' is a magic number. 73
 Error whitespace WhitespaceAround '*' is not preceded with whitespace. 74
 Error whitespace WhitespaceAround '*' is not followed by whitespace. 74
 Error coding MagicNumber '10' is a magic number. 74
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 77
 Error whitespace ParenPad '(' is followed by whitespace. 77
 Error coding SimplifyBooleanExpression Expression can be simplified. 77
 Error sizes LineLength Line is longer than 80 characters (found 107). 88
 Error sizes LineLength Line is longer than 80 characters (found 101). 91
 Error sizes LineLength Line is longer than 80 characters (found 94). 107
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 112
 Error whitespace ParenPad '(' is followed by whitespace. 112
 Error whitespace OperatorWrap '&&' should be on a new line. 112
 Error whitespace ParenPad '(' is followed by whitespace. 124
 Error whitespace ParenPad ')' is preceded with whitespace. 124
 Error whitespace WhitespaceAround 'catch' 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 'catch' is not followed by whitespace. 135
 Error whitespace ParenPad '(' is followed by whitespace. 135
 Error whitespace ParenPad ')' is preceded with whitespace. 135
 Error design DesignForExtension Class 'CassandraClient' looks like designed for extension (can be subclassed), but the method 'stop' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraClient' final or making the method 'stop' static/final/abstract/empty, or adding allowed annotation for the method. 144
 Error javadoc JavadocMethod Missing a Javadoc comment. 144
 Error design DesignForExtension Class 'CassandraClient' looks like designed for extension (can be subclassed), but the method 'config' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraClient' final or making the method 'config' static/final/abstract/empty, or adding allowed annotation for the method. 149
 Error javadoc JavadocMethod Missing a Javadoc comment. 149
 Error design DesignForExtension Class 'CassandraClient' looks like designed for extension (can be subclassed), but the method 'client' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraClient' final or making the method 'client' static/final/abstract/empty, or adding allowed annotation for the method. 153
 Error javadoc JavadocMethod Missing a Javadoc comment. 153
 Error design DesignForExtension Class 'CassandraClient' looks like designed for extension (can be subclassed), but the method 'cluster' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraClient' final or making the method 'cluster' static/final/abstract/empty, or adding allowed annotation for the method. 157
 Error javadoc JavadocMethod Missing a Javadoc comment. 157

org/apache/streams/cassandra/CassandraConfiguration.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 21
 Error blocks LeftCurly '{' at column 1 should be on the previous line. 35
 Error javadoc JavadocStyle First sentence should end with a period. 37
 Error regexp RegexpSingleline Line has trailing spaces. 39
 Error javadoc JavadocStyle First sentence should end with a period. 44
 Error regexp RegexpSingleline Line has trailing spaces. 46
 Error javadoc JavadocStyle First sentence should end with a period. 50
 Error regexp RegexpSingleline Line has trailing spaces. 52
 Error javadoc JavadocStyle First sentence should end with a period. 56
 Error regexp RegexpSingleline Line has trailing spaces. 58
 Error javadoc JavadocStyle First sentence should end with a period. 62
 Error regexp RegexpSingleline Line has trailing spaces. 64
 Error javadoc JavadocStyle First sentence should end with a period. 68
 Error regexp RegexpSingleline Line has trailing spaces. 70
 Error javadoc JavadocStyle First sentence should end with a period. 74
 Error regexp RegexpSingleline Line has trailing spaces. 76
 Error javadoc JavadocStyle First sentence should end with a period. 80
 Error regexp RegexpSingleline Line has trailing spaces. 82
 Error javadoc JavadocStyle First sentence should end with a period. 86
 Error regexp RegexpSingleline Line has trailing spaces. 88
 Error javadoc JavadocVariable Missing a Javadoc comment. 93
 Error sizes LineLength Line is longer than 80 characters (found 85). 94
 Error javadoc JavadocStyle First sentence should end with a period. 96
 Error regexp RegexpSingleline Line has trailing spaces. 98
 Error javadoc JavadocStyle First sentence should end with a period. 107
 Error regexp RegexpSingleline Line has trailing spaces. 109
 Error misc FinalParameters Parameter hosts should be final. 114
 Error coding HiddenField 'hosts' hides a field. 114
 Error design DesignForExtension Class 'CassandraConfiguration' looks like designed for extension (can be subclassed), but the method 'withHosts' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraConfiguration' final or making the method 'withHosts' static/final/abstract/empty, or adding allowed annotation for the method. 118
 Error javadoc JavadocMethod Missing a Javadoc comment. 118
 Error misc FinalParameters Parameter hosts should be final. 118
 Error coding HiddenField 'hosts' hides a field. 118
 Error javadoc JavadocStyle First sentence should end with a period. 123
 Error regexp RegexpSingleline Line has trailing spaces. 125
 Error javadoc JavadocStyle First sentence should end with a period. 134
 Error regexp RegexpSingleline Line has trailing spaces. 136
 Error misc FinalParameters Parameter port should be final. 141
 Error coding HiddenField 'port' hides a field. 141
 Error design DesignForExtension Class 'CassandraConfiguration' looks like designed for extension (can be subclassed), but the method 'withPort' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraConfiguration' final or making the method 'withPort' static/final/abstract/empty, or adding allowed annotation for the method. 145
 Error javadoc JavadocMethod Missing a Javadoc comment. 145
 Error misc FinalParameters Parameter port should be final. 145
 Error coding HiddenField 'port' hides a field. 145
 Error javadoc JavadocStyle First sentence should end with a period. 150
 Error regexp RegexpSingleline Line has trailing spaces. 152
 Error javadoc JavadocStyle First sentence should end with a period. 161
 Error regexp RegexpSingleline Line has trailing spaces. 163
 Error misc FinalParameters Parameter user should be final. 168
 Error coding HiddenField 'user' hides a field. 168
 Error design DesignForExtension Class 'CassandraConfiguration' looks like designed for extension (can be subclassed), but the method 'withUser' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraConfiguration' final or making the method 'withUser' static/final/abstract/empty, or adding allowed annotation for the method. 172
 Error javadoc JavadocMethod Missing a Javadoc comment. 172
 Error misc FinalParameters Parameter user should be final. 172
 Error coding HiddenField 'user' hides a field. 172
 Error javadoc JavadocStyle First sentence should end with a period. 177
 Error regexp RegexpSingleline Line has trailing spaces. 179
 Error javadoc JavadocStyle First sentence should end with a period. 188
 Error regexp RegexpSingleline Line has trailing spaces. 190
 Error misc FinalParameters Parameter password should be final. 195
 Error coding HiddenField 'password' hides a field. 195
 Error design DesignForExtension Class 'CassandraConfiguration' looks like designed for extension (can be subclassed), but the method 'withPassword' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraConfiguration' final or making the method 'withPassword' static/final/abstract/empty, or adding allowed annotation for the method. 199
 Error javadoc JavadocMethod Missing a Javadoc comment. 199
 Error misc FinalParameters Parameter password should be final. 199
 Error coding HiddenField 'password' hides a field. 199
 Error javadoc JavadocStyle First sentence should end with a period. 204
 Error regexp RegexpSingleline Line has trailing spaces. 206
 Error javadoc JavadocStyle First sentence should end with a period. 215
 Error regexp RegexpSingleline Line has trailing spaces. 217
 Error misc FinalParameters Parameter keyspace should be final. 222
 Error coding HiddenField 'keyspace' hides a field. 222
 Error design DesignForExtension Class 'CassandraConfiguration' looks like designed for extension (can be subclassed), but the method 'withKeyspace' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraConfiguration' final or making the method 'withKeyspace' static/final/abstract/empty, or adding allowed annotation for the method. 226
 Error javadoc JavadocMethod Missing a Javadoc comment. 226
 Error misc FinalParameters Parameter keyspace should be final. 226
 Error coding HiddenField 'keyspace' hides a field. 226
 Error javadoc JavadocStyle First sentence should end with a period. 231
 Error regexp RegexpSingleline Line has trailing spaces. 233
 Error javadoc JavadocStyle First sentence should end with a period. 242
 Error regexp RegexpSingleline Line has trailing spaces. 244
 Error misc FinalParameters Parameter table should be final. 249
 Error coding HiddenField 'table' hides a field. 249
 Error design DesignForExtension Class 'CassandraConfiguration' looks like designed for extension (can be subclassed), but the method 'withTable' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraConfiguration' final or making the method 'withTable' static/final/abstract/empty, or adding allowed annotation for the method. 253
 Error javadoc JavadocMethod Missing a Javadoc comment. 253
 Error misc FinalParameters Parameter table should be final. 253
 Error coding HiddenField 'table' hides a field. 253
 Error javadoc JavadocStyle First sentence should end with a period. 258
 Error regexp RegexpSingleline Line has trailing spaces. 260
 Error javadoc JavadocStyle First sentence should end with a period. 269
 Error regexp RegexpSingleline Line has trailing spaces. 271
 Error misc FinalParameters Parameter partitionKeyColumn should be final. 276
 Error coding HiddenField 'partitionKeyColumn' hides a field. 276
 Error sizes LineLength Line is longer than 80 characters (found 85). 280
 Error design DesignForExtension Class 'CassandraConfiguration' looks like designed for extension (can be subclassed), but the method 'withPartitionKeyColumn' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraConfiguration' final or making the method 'withPartitionKeyColumn' static/final/abstract/empty, or adding allowed annotation for the method. 280
 Error javadoc JavadocMethod Missing a Javadoc comment. 280
 Error misc FinalParameters Parameter partitionKeyColumn should be final. 280
 Error coding HiddenField 'partitionKeyColumn' hides a field. 280
 Error javadoc JavadocStyle First sentence should end with a period. 285
 Error regexp RegexpSingleline Line has trailing spaces. 287
 Error javadoc JavadocStyle First sentence should end with a period. 296
 Error regexp RegexpSingleline Line has trailing spaces. 298
 Error misc FinalParameters Parameter column should be final. 303
 Error coding HiddenField 'column' hides a field. 303
 Error design DesignForExtension Class 'CassandraConfiguration' looks like designed for extension (can be subclassed), but the method 'withColumn' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraConfiguration' final or making the method 'withColumn' static/final/abstract/empty, or adding allowed annotation for the method. 307
 Error javadoc JavadocMethod Missing a Javadoc comment. 307
 Error misc FinalParameters Parameter column should be final. 307
 Error coding HiddenField 'column' hides a field. 307
 Error javadoc JavadocStyle First sentence should end with a period. 312
 Error regexp RegexpSingleline Line has trailing spaces. 314
 Error javadoc JavadocStyle First sentence should end with a period. 323
 Error regexp RegexpSingleline Line has trailing spaces. 325
 Error misc FinalParameters Parameter ssl should be final. 330
 Error coding HiddenField 'ssl' hides a field. 330
 Error design DesignForExtension Class 'CassandraConfiguration' looks like designed for extension (can be subclassed), but the method 'withSsl' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraConfiguration' final or making the method 'withSsl' static/final/abstract/empty, or adding allowed annotation for the method. 334
 Error javadoc JavadocMethod Missing a Javadoc comment. 334
 Error misc FinalParameters Parameter ssl should be final. 334
 Error coding HiddenField 'ssl' hides a field. 334
 Error design DesignForExtension Class 'CassandraConfiguration' looks like designed for extension (can be subclassed), but the method 'toString' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraConfiguration' final or making the method 'toString' static/final/abstract/empty, or adding allowed annotation for the method. 339
 Error design DesignForExtension Class 'CassandraConfiguration' looks like designed for extension (can be subclassed), but the method 'getAdditionalProperties' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraConfiguration' final or making the method 'getAdditionalProperties' static/final/abstract/empty, or adding allowed annotation for the method. 344
 Error javadoc JavadocMethod Missing a Javadoc comment. 344
 Error design DesignForExtension Class 'CassandraConfiguration' looks like designed for extension (can be subclassed), but the method 'setAdditionalProperty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraConfiguration' final or making the method 'setAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. 349
 Error javadoc JavadocMethod Missing a Javadoc comment. 349
 Error misc FinalParameters Parameter name should be final. 350
 Error misc FinalParameters Parameter value should be final. 350
 Error sizes LineLength Line is longer than 80 characters (found 85). 354
 Error design DesignForExtension Class 'CassandraConfiguration' looks like designed for extension (can be subclassed), but the method 'withAdditionalProperty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraConfiguration' final or making the method 'withAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. 354
 Error javadoc JavadocMethod Missing a Javadoc comment. 354
 Error misc FinalParameters Parameter name should be final. 354
 Error misc FinalParameters Parameter value should be final. 354
 Error design DesignForExtension Class 'CassandraConfiguration' looks like designed for extension (can be subclassed), but the method 'hashCode' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraConfiguration' final or making the method 'hashCode' static/final/abstract/empty, or adding allowed annotation for the method. 359
 Error sizes LineLength Line is longer than 80 characters (found 221). 361
 Error design DesignForExtension Class 'CassandraConfiguration' 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 'CassandraConfiguration' final or making the method 'equals' static/final/abstract/empty, or adding allowed annotation for the method. 364
 Error misc FinalParameters Parameter other should be final. 365
 Error coding SimplifyBooleanExpression Expression can be simplified. 369
 Error sizes LineLength Line is longer than 80 characters (found 358). 373

org/apache/streams/cassandra/CassandraPersistReader.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.
 Error imports UnusedImports Unused import - com.datastax.driver.core.Cluster. 29
 Error imports UnusedImports Unused import - com.datastax.driver.core.DataType. 30
 Error imports UnusedImports Unused import - com.datastax.driver.core.KeyspaceMetadata. 31
 Error imports UnusedImports Unused import - com.datastax.driver.core.Metadata. 32
 Error imports UnusedImports Unused import - com.datastax.driver.core.Session. 35
 Error imports UnusedImports Unused import - com.datastax.driver.core.TableMetadata. 36
 Error imports UnusedImports Unused import - com.datastax.driver.core.schemabuilder.SchemaBuilder. 38
 Error imports UnusedImports Unused import - org.apache.commons.lang3.StringUtils. 42
 Error imports UnusedImports Unused import - java.util.HashMap. 49
 Error imports UnusedImports Unused import - java.util.Map. 51
 Error imports UnusedImports Unused import - java.util.Objects. 52
 Error javadoc JavadocVariable Missing a Javadoc comment. 67
 Error sizes LineLength Line is longer than 80 characters (found 92). 69
 Error javadoc JavadocVariable Missing a Javadoc comment. 69
 Error javadoc JavadocVariable Missing a Javadoc comment. 71
 Error design VisibilityModifier Variable 'persistQueue' must be private and have accessor methods. 71
 Error javadoc JavadocVariable Missing a Javadoc comment. 73
 Error javadoc JavadocVariable Missing a Javadoc comment. 75
 Error sizes LineLength Line is longer than 80 characters (found 82). 76
 Error javadoc JavadocVariable Missing a Javadoc comment. 76
 Error javadoc JavadocVariable Missing a Javadoc comment. 78
 Error javadoc JavadocVariable Missing a Javadoc comment. 79
 Error javadoc JavadocVariable Missing a Javadoc comment. 81
 Error design VisibilityModifier Variable 'rowIterator' must be private and have accessor methods. 81
 Error javadoc JavadocVariable Missing a Javadoc comment. 83
 Error design VisibilityModifier Variable 'lock' must be private and have accessor methods. 83
 Error sizes LineLength Line is longer than 80 characters (found 95). 86
 Error sizes LineLength Line is longer than 80 characters (found 83). 90
 Error misc FinalParameters Parameter config should be final. 97
 Error coding HiddenField 'config' hides a field. 97
 Error misc FinalParameters Parameter persistQueue should be final. 105
 Error coding HiddenField 'persistQueue' hides a field. 105
 Error sizes LineLength Line is longer than 80 characters (found 83). 107
 Error design DesignForExtension Class 'CassandraPersistReader' looks like designed for extension (can be subclassed), but the method 'setPersistQueue' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistReader' final or making the method 'setPersistQueue' static/final/abstract/empty, or adding allowed annotation for the method. 111
 Error javadoc JavadocMethod Missing a Javadoc comment. 111
 Error misc FinalParameters Parameter persistQueue should be final. 111
 Error coding HiddenField 'persistQueue' hides a field. 111
 Error design DesignForExtension Class 'CassandraPersistReader' looks like designed for extension (can be subclassed), but the method 'getPersistQueue' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistReader' final or making the method 'getPersistQueue' static/final/abstract/empty, or adding allowed annotation for the method. 115
 Error javadoc JavadocMethod Missing a Javadoc comment. 115
 Error javadoc JavadocMethod Missing a Javadoc comment. 119
 Error design DesignForExtension Class 'CassandraPersistReader' 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 'CassandraPersistReader' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. 122
 Error design DesignForExtension Class 'CassandraPersistReader' looks like designed for extension (can be subclassed), but the method 'prepare' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistReader' final or making the method 'prepare' static/final/abstract/empty, or adding allowed annotation for the method. 127
 Error misc FinalParameters Parameter configurationObject should be final. 128
 Error design DesignForExtension Class 'CassandraPersistReader' looks like designed for extension (can be subclassed), but the method 'cleanUp' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistReader' final or making the method 'cleanUp' static/final/abstract/empty, or adding allowed annotation for the method. 150
 Error design DesignForExtension Class 'CassandraPersistReader' looks like designed for extension (can be subclassed), but the method 'prepareDatum' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistReader' final or making the method 'prepareDatum' static/final/abstract/empty, or adding allowed annotation for the method. 155
 Error javadoc JavadocMethod Missing a Javadoc comment. 155
 Error misc FinalParameters Parameter row should be final. 155
 Error javadoc JavadocMethod Missing a Javadoc comment. 169
 Error design DesignForExtension Class 'CassandraPersistReader' looks like designed for extension (can be subclassed), but the method 'readAll' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistReader' final or making the method 'readAll' static/final/abstract/empty, or adding allowed annotation for the method. 175
 Error design DesignForExtension Class 'CassandraPersistReader' looks like designed for extension (can be subclassed), but the method 'startStream' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistReader' final or making the method 'startStream' static/final/abstract/empty, or adding allowed annotation for the method. 189
 Error sizes LineLength Line is longer than 80 characters (found 81). 192
 Error design DesignForExtension Class 'CassandraPersistReader' looks like designed for extension (can be subclassed), but the method 'readCurrent' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistReader' final or making the method 'readCurrent' static/final/abstract/empty, or adding allowed annotation for the method. 207
 Error design DesignForExtension Class 'CassandraPersistReader' looks like designed for extension (can be subclassed), but the method 'write' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistReader' final or making the method 'write' static/final/abstract/empty, or adding allowed annotation for the method. 224
 Error javadoc JavadocMethod Missing a Javadoc comment. 224
 Error misc FinalParameters Parameter entry should be final. 224
 Error design DesignForExtension Class 'CassandraPersistReader' looks like designed for extension (can be subclassed), but the method 'readNew' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistReader' final or making the method 'readNew' static/final/abstract/empty, or adding allowed annotation for the method. 238
 Error misc FinalParameters Parameter sequence should be final. 239
 Error design DesignForExtension Class 'CassandraPersistReader' looks like designed for extension (can be subclassed), but the method 'readRange' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistReader' final or making the method 'readRange' static/final/abstract/empty, or adding allowed annotation for the method. 243
 Error misc FinalParameters Parameter start should be final. 244
 Error misc FinalParameters Parameter end should be final. 244
 Error design DesignForExtension Class 'CassandraPersistReader' looks like designed for extension (can be subclassed), but the method 'isRunning' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistReader' final or making the method 'isRunning' static/final/abstract/empty, or adding allowed annotation for the method. 248
 Error javadoc JavadocMethod Missing a Javadoc comment. 253
 Error sizes LineLength Line is longer than 80 characters (found 82). 254
 Error coding MagicNumber '10000' is a magic number. 254
 Error javadoc JavadocMethod Missing a Javadoc comment. 257
 Error javadoc JavadocType Missing a Javadoc comment. 263
 Error javadoc JavadocVariable Missing a Javadoc comment. 265
 Error javadoc JavadocMethod Missing a Javadoc comment. 267
 Error misc FinalParameters Parameter reader should be final. 267
 Error coding HiddenField 'reader' hides a field. 267
 Error design DesignForExtension Class 'CassandraPersistReaderTask' looks like designed for extension (can be subclassed), but the method 'run' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistReaderTask' final or making the method 'run' static/final/abstract/empty, or adding allowed annotation for the method. 271

org/apache/streams/cassandra/CassandraPersistWriter.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.
 Error imports UnusedImports Unused import - com.datastax.driver.core.Cluster. 30
 Error imports UnusedImports Unused import - org.apache.commons.lang3.StringUtils. 42
 Error sizes LineLength Line is longer than 80 characters (found 101). 65
 Error javadoc JavadocType Missing a Javadoc comment. 65
 Error javadoc JavadocVariable Missing a Javadoc comment. 67
 Error sizes LineLength Line is longer than 80 characters (found 93). 69
 Error javadoc JavadocVariable Missing a Javadoc comment. 69
 Error javadoc JavadocVariable Missing a Javadoc comment. 71
 Error javadoc JavadocVariable Missing a Javadoc comment. 73
 Error design VisibilityModifier Variable 'persistQueue' must be private and have accessor methods. 73
 Error javadoc JavadocVariable Missing a Javadoc comment. 75
 Error sizes LineLength Line is longer than 80 characters (found 85). 76
 Error javadoc JavadocVariable Missing a Javadoc comment. 76
 Error sizes LineLength Line is longer than 80 characters (found 102). 77
 Error javadoc JavadocVariable Missing a Javadoc comment. 77
 Error javadoc JavadocVariable Missing a Javadoc comment. 79
 Error javadoc JavadocVariable Missing a Javadoc comment. 80
 Error javadoc JavadocVariable Missing a Javadoc comment. 82
 Error javadoc JavadocVariable Missing a Javadoc comment. 84
 Error design VisibilityModifier Variable 'insertStatement' must be private and have accessor methods. 84
 Error javadoc JavadocVariable Missing a Javadoc comment. 86
 Error design VisibilityModifier Variable 'insertBatch' must be private and have accessor methods. 86
 Error javadoc JavadocVariable Missing a Javadoc comment. 88
 Error design VisibilityModifier Variable 'lock' must be private and have accessor methods. 88
 Error javadoc JavadocMethod Missing a Javadoc comment. 90
 Error sizes LineLength Line is longer than 80 characters (found 82). 92
 Error javadoc JavadocMethod Missing a Javadoc comment. 95
 Error misc FinalParameters Parameter config should be final. 95
 Error coding HiddenField 'config' hides a field. 95
 Error design DesignForExtension Class 'CassandraPersistWriter' looks like designed for extension (can be subclassed), but the method 'setPersistQueue' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistWriter' final or making the method 'setPersistQueue' static/final/abstract/empty, or adding allowed annotation for the method. 99
 Error javadoc JavadocMethod Missing a Javadoc comment. 99
 Error misc FinalParameters Parameter persistQueue should be final. 99
 Error coding HiddenField 'persistQueue' hides a field. 99
 Error design DesignForExtension Class 'CassandraPersistWriter' looks like designed for extension (can be subclassed), but the method 'getPersistQueue' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistWriter' final or making the method 'getPersistQueue' static/final/abstract/empty, or adding allowed annotation for the method. 103
 Error javadoc JavadocMethod Missing a Javadoc comment. 103
 Error design DesignForExtension Class 'CassandraPersistWriter' 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 'CassandraPersistWriter' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. 107
 Error design DesignForExtension Class 'CassandraPersistWriter' looks like designed for extension (can be subclassed), but the method 'write' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistWriter' final or making the method 'write' static/final/abstract/empty, or adding allowed annotation for the method. 112
 Error misc FinalParameters Parameter streamsDatum should be final. 113
 Error sizes LineLength Line is longer than 80 characters (found 87). 119
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 124
 Error sizes LineLength Line is longer than 80 characters (found 85). 128
 Error sizes LineLength Line is longer than 80 characters (found 88). 131
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 141
 Error sizes LineLength Line is longer than 80 characters (found 85). 145
 Error sizes LineLength Line is longer than 80 characters (found 88). 148
 Error design DesignForExtension Class 'CassandraPersistWriter' looks like designed for extension (can be subclassed), but the method 'flush' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistWriter' final or making the method 'flush' static/final/abstract/empty, or adding allowed annotation for the method. 156
 Error sizes LineLength Line is longer than 80 characters (found 84). 159
 Error design DesignForExtension Class 'CassandraPersistWriter' looks like designed for extension (can be subclassed), but the method 'close' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistWriter' final or making the method 'close' static/final/abstract/empty, or adding allowed annotation for the method. 173
 Error coding MagicNumber '15' is a magic number. 220
 Error coding MagicNumber '15' is a magic number. 223
 Error design DesignForExtension Class 'CassandraPersistWriter' looks like designed for extension (can be subclassed), but the method 'run' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistWriter' final or making the method 'run' static/final/abstract/empty, or adding allowed annotation for the method. 235
 Error design DesignForExtension Class 'CassandraPersistWriter' looks like designed for extension (can be subclassed), but the method 'prepare' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistWriter' final or making the method 'prepare' static/final/abstract/empty, or adding allowed annotation for the method. 254
 Error misc FinalParameters Parameter configurationObject should be final. 255
 Error design DesignForExtension Class 'CassandraPersistWriter' looks like designed for extension (can be subclassed), but the method 'cleanUp' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistWriter' final or making the method 'cleanUp' static/final/abstract/empty, or adding allowed annotation for the method. 260
 Error design DesignForExtension Class 'CassandraPersistWriter' looks like designed for extension (can be subclassed), but the method 'flushIfNecessary' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'CassandraPersistWriter' final or making the method 'flushIfNecessary' static/final/abstract/empty, or adding allowed annotation for the method. 265
 Error javadoc JavadocMethod Missing a Javadoc comment. 265
 Error sizes LineLength Line is longer than 80 characters (found 115). 267
 Error sizes LineLength Line is longer than 80 characters (found 103). 269
 Error coding MagicNumber '100' is a magic number. 269
 Error javadoc JavadocMethod Missing a Javadoc comment. 278
 Error javadoc JavadocMethod Missing a Javadoc comment. 282
 Error sizes LineLength Line is longer than 80 characters (found 89). 285
 Error sizes LineLength Line is longer than 80 characters (found 91). 290
 Error sizes LineLength Line is longer than 80 characters (found 117). 301
 Error sizes LineLength Line is longer than 80 characters (found 100). 303
 Error sizes LineLength Line is longer than 80 characters (found 97). 304
 Error javadoc JavadocMethod Missing a Javadoc comment. 310

org/apache/streams/cassandra/Ssl.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 19
 Error regexp RegexpSingleline Line has trailing spaces. 21
 Error blocks LeftCurly '{' at column 1 should be on the previous line. 33
 Error javadoc JavadocStyle First sentence should end with a period. 35
 Error regexp RegexpSingleline Line has trailing spaces. 37
 Error javadoc JavadocVariable Missing a Javadoc comment. 41
 Error javadoc JavadocVariable Missing a Javadoc comment. 43
 Error javadoc JavadocVariable Missing a Javadoc comment. 45
 Error javadoc JavadocVariable Missing a Javadoc comment. 47
 Error javadoc JavadocVariable Missing a Javadoc comment. 49
 Error sizes LineLength Line is longer than 80 characters (found 85). 50
 Error javadoc JavadocStyle First sentence should end with a period. 52
 Error regexp RegexpSingleline Line has trailing spaces. 54
 Error javadoc JavadocStyle First sentence should end with a period. 63
 Error regexp RegexpSingleline Line has trailing spaces. 65
 Error misc FinalParameters Parameter enabled should be final. 70
 Error coding HiddenField 'enabled' hides a field. 70
 Error design DesignForExtension Class 'Ssl' looks like designed for extension (can be subclassed), but the method 'withEnabled' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Ssl' final or making the method 'withEnabled' static/final/abstract/empty, or adding allowed annotation for the method. 74
 Error javadoc JavadocMethod Missing a Javadoc comment. 74
 Error misc FinalParameters Parameter enabled should be final. 74
 Error coding HiddenField 'enabled' hides a field. 74
 Error regexp RegexpSingleline Line has trailing spaces. 80
 Error regexp RegexpSingleline Line has trailing spaces. 90
 Error misc FinalParameters Parameter trustStore should be final. 95
 Error coding HiddenField 'trustStore' hides a field. 95
 Error design DesignForExtension Class 'Ssl' looks like designed for extension (can be subclassed), but the method 'withTrustStore' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Ssl' final or making the method 'withTrustStore' static/final/abstract/empty, or adding allowed annotation for the method. 99
 Error javadoc JavadocMethod Missing a Javadoc comment. 99
 Error misc FinalParameters Parameter trustStore should be final. 99
 Error coding HiddenField 'trustStore' hides a field. 99
 Error regexp RegexpSingleline Line has trailing spaces. 105
 Error regexp RegexpSingleline Line has trailing spaces. 115
 Error misc FinalParameters Parameter trustStorePassword should be final. 120
 Error coding HiddenField 'trustStorePassword' hides a field. 120
 Error design DesignForExtension Class 'Ssl' looks like designed for extension (can be subclassed), but the method 'withTrustStorePassword' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Ssl' final or making the method 'withTrustStorePassword' static/final/abstract/empty, or adding allowed annotation for the method. 124
 Error javadoc JavadocMethod Missing a Javadoc comment. 124
 Error misc FinalParameters Parameter trustStorePassword should be final. 124
 Error coding HiddenField 'trustStorePassword' hides a field. 124
 Error regexp RegexpSingleline Line has trailing spaces. 130
 Error regexp RegexpSingleline Line has trailing spaces. 140
 Error misc FinalParameters Parameter keyStore should be final. 145
 Error coding HiddenField 'keyStore' hides a field. 145
 Error design DesignForExtension Class 'Ssl' looks like designed for extension (can be subclassed), but the method 'withKeyStore' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Ssl' final or making the method 'withKeyStore' static/final/abstract/empty, or adding allowed annotation for the method. 149
 Error javadoc JavadocMethod Missing a Javadoc comment. 149
 Error misc FinalParameters Parameter keyStore should be final. 149
 Error coding HiddenField 'keyStore' hides a field. 149
 Error regexp RegexpSingleline Line has trailing spaces. 155
 Error regexp RegexpSingleline Line has trailing spaces. 165
 Error misc FinalParameters Parameter keyStorePassword should be final. 170
 Error coding HiddenField 'keyStorePassword' hides a field. 170
 Error design DesignForExtension Class 'Ssl' looks like designed for extension (can be subclassed), but the method 'withKeyStorePassword' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Ssl' final or making the method 'withKeyStorePassword' static/final/abstract/empty, or adding allowed annotation for the method. 174
 Error javadoc JavadocMethod Missing a Javadoc comment. 174
 Error misc FinalParameters Parameter keyStorePassword should be final. 174
 Error coding HiddenField 'keyStorePassword' hides a field. 174
 Error design DesignForExtension Class 'Ssl' looks like designed for extension (can be subclassed), but the method 'toString' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Ssl' final or making the method 'toString' static/final/abstract/empty, or adding allowed annotation for the method. 179
 Error design DesignForExtension Class 'Ssl' looks like designed for extension (can be subclassed), but the method 'getAdditionalProperties' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Ssl' final or making the method 'getAdditionalProperties' static/final/abstract/empty, or adding allowed annotation for the method. 184
 Error javadoc JavadocMethod Missing a Javadoc comment. 184
 Error design DesignForExtension Class 'Ssl' looks like designed for extension (can be subclassed), but the method 'setAdditionalProperty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Ssl' final or making the method 'setAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. 189
 Error javadoc JavadocMethod Missing a Javadoc comment. 189
 Error misc FinalParameters Parameter name should be final. 190
 Error misc FinalParameters Parameter value should be final. 190
 Error design DesignForExtension Class 'Ssl' looks like designed for extension (can be subclassed), but the method 'withAdditionalProperty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Ssl' final or making the method 'withAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. 194
 Error javadoc JavadocMethod Missing a Javadoc comment. 194
 Error misc FinalParameters Parameter name should be final. 194
 Error misc FinalParameters Parameter value should be final. 194
 Error design DesignForExtension Class 'Ssl' looks like designed for extension (can be subclassed), but the method 'hashCode' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Ssl' final or making the method 'hashCode' static/final/abstract/empty, or adding allowed annotation for the method. 199
 Error sizes LineLength Line is longer than 80 characters (found 183). 201
 Error design DesignForExtension Class 'Ssl' 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 'Ssl' final or making the method 'equals' static/final/abstract/empty, or adding allowed annotation for the method. 204
 Error misc FinalParameters Parameter other should be final. 205
 Error coding SimplifyBooleanExpression Expression can be simplified. 209
 Error sizes LineLength Line is longer than 80 characters (found 294). 213