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 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 JavadocType Missing a Javadoc comment. 22
 Error blocks LeftCurly '{' at column 1 should be on the previous line. 36
 Error javadoc JavadocStyle First sentence should end with a period. 38
 Error regexp RegexpSingleline Line has trailing spaces. 40
 Error javadoc JavadocStyle First sentence should end with a period. 46
 Error regexp RegexpSingleline Line has trailing spaces. 48
 Error javadoc JavadocStyle First sentence should end with a period. 53
 Error regexp RegexpSingleline Line has trailing spaces. 55
 Error javadoc JavadocStyle First sentence should end with a period. 60
 Error regexp RegexpSingleline Line has trailing spaces. 62
 Error javadoc JavadocStyle First sentence should end with a period. 67
 Error regexp RegexpSingleline Line has trailing spaces. 69
 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. 81
 Error regexp RegexpSingleline Line has trailing spaces. 83
 Error javadoc JavadocStyle First sentence should end with a period. 88
 Error regexp RegexpSingleline Line has trailing spaces. 90
 Error javadoc JavadocStyle First sentence should end with a period. 95
 Error regexp RegexpSingleline Line has trailing spaces. 97
 Error javadoc JavadocVariable Missing a Javadoc comment. 103
 Error sizes LineLength Line is longer than 80 characters (found 85). 104
 Error javadoc JavadocStyle First sentence should end with a period. 106
 Error regexp RegexpSingleline Line has trailing spaces. 108
 Error javadoc JavadocStyle First sentence should end with a period. 118
 Error regexp RegexpSingleline Line has trailing spaces. 120
 Error misc FinalParameters Parameter hosts should be final. 126
 Error coding HiddenField 'hosts' hides a field. 126
 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. 130
 Error javadoc JavadocMethod Missing a Javadoc comment. 130
 Error misc FinalParameters Parameter hosts should be final. 130
 Error coding HiddenField 'hosts' hides a field. 130
 Error javadoc JavadocStyle First sentence should end with a period. 135
 Error regexp RegexpSingleline Line has trailing spaces. 137
 Error javadoc JavadocStyle First sentence should end with a period. 147
 Error regexp RegexpSingleline Line has trailing spaces. 149
 Error misc FinalParameters Parameter port should be final. 155
 Error coding HiddenField 'port' hides a field. 155
 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. 159
 Error javadoc JavadocMethod Missing a Javadoc comment. 159
 Error misc FinalParameters Parameter port should be final. 159
 Error coding HiddenField 'port' hides a field. 159
 Error javadoc JavadocStyle First sentence should end with a period. 164
 Error regexp RegexpSingleline Line has trailing spaces. 166
 Error javadoc JavadocStyle First sentence should end with a period. 176
 Error regexp RegexpSingleline Line has trailing spaces. 178
 Error misc FinalParameters Parameter user should be final. 184
 Error coding HiddenField 'user' hides a field. 184
 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. 188
 Error javadoc JavadocMethod Missing a Javadoc comment. 188
 Error misc FinalParameters Parameter user should be final. 188
 Error coding HiddenField 'user' hides a field. 188
 Error javadoc JavadocStyle First sentence should end with a period. 193
 Error regexp RegexpSingleline Line has trailing spaces. 195
 Error javadoc JavadocStyle First sentence should end with a period. 205
 Error regexp RegexpSingleline Line has trailing spaces. 207
 Error misc FinalParameters Parameter password should be final. 213
 Error coding HiddenField 'password' hides a field. 213
 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. 217
 Error javadoc JavadocMethod Missing a Javadoc comment. 217
 Error misc FinalParameters Parameter password should be final. 217
 Error coding HiddenField 'password' hides a field. 217
 Error javadoc JavadocStyle First sentence should end with a period. 222
 Error regexp RegexpSingleline Line has trailing spaces. 224
 Error javadoc JavadocStyle First sentence should end with a period. 234
 Error regexp RegexpSingleline Line has trailing spaces. 236
 Error misc FinalParameters Parameter keyspace should be final. 242
 Error coding HiddenField 'keyspace' hides a field. 242
 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. 246
 Error javadoc JavadocMethod Missing a Javadoc comment. 246
 Error misc FinalParameters Parameter keyspace should be final. 246
 Error coding HiddenField 'keyspace' hides a field. 246
 Error javadoc JavadocStyle First sentence should end with a period. 251
 Error regexp RegexpSingleline Line has trailing spaces. 253
 Error javadoc JavadocStyle First sentence should end with a period. 263
 Error regexp RegexpSingleline Line has trailing spaces. 265
 Error misc FinalParameters Parameter table should be final. 271
 Error coding HiddenField 'table' hides a field. 271
 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. 275
 Error javadoc JavadocMethod Missing a Javadoc comment. 275
 Error misc FinalParameters Parameter table should be final. 275
 Error coding HiddenField 'table' hides a field. 275
 Error javadoc JavadocStyle First sentence should end with a period. 280
 Error regexp RegexpSingleline Line has trailing spaces. 282
 Error javadoc JavadocStyle First sentence should end with a period. 292
 Error regexp RegexpSingleline Line has trailing spaces. 294
 Error misc FinalParameters Parameter partitionKeyColumn should be final. 300
 Error coding HiddenField 'partitionKeyColumn' hides a field. 300
 Error sizes LineLength Line is longer than 80 characters (found 85). 304
 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. 304
 Error javadoc JavadocMethod Missing a Javadoc comment. 304
 Error misc FinalParameters Parameter partitionKeyColumn should be final. 304
 Error coding HiddenField 'partitionKeyColumn' hides a field. 304
 Error javadoc JavadocStyle First sentence should end with a period. 309
 Error regexp RegexpSingleline Line has trailing spaces. 311
 Error javadoc JavadocStyle First sentence should end with a period. 321
 Error regexp RegexpSingleline Line has trailing spaces. 323
 Error misc FinalParameters Parameter column should be final. 329
 Error coding HiddenField 'column' hides a field. 329
 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. 333
 Error javadoc JavadocMethod Missing a Javadoc comment. 333
 Error misc FinalParameters Parameter column should be final. 333
 Error coding HiddenField 'column' hides a field. 333
 Error javadoc JavadocStyle First sentence should end with a period. 338
 Error regexp RegexpSingleline Line has trailing spaces. 340
 Error javadoc JavadocStyle First sentence should end with a period. 350
 Error regexp RegexpSingleline Line has trailing spaces. 352
 Error misc FinalParameters Parameter ssl should be final. 358
 Error coding HiddenField 'ssl' hides a field. 358
 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. 362
 Error javadoc JavadocMethod Missing a Javadoc comment. 362
 Error misc FinalParameters Parameter ssl should be final. 362
 Error coding HiddenField 'ssl' hides a field. 362
 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. 367
 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. 372
 Error javadoc JavadocMethod Missing a Javadoc comment. 372
 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. 378
 Error javadoc JavadocMethod Missing a Javadoc comment. 378
 Error misc FinalParameters Parameter name should be final. 380
 Error misc FinalParameters Parameter value should be final. 380
 Error sizes LineLength Line is longer than 80 characters (found 85). 384
 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. 384
 Error javadoc JavadocMethod Missing a Javadoc comment. 384
 Error misc FinalParameters Parameter name should be final. 384
 Error misc FinalParameters Parameter value should be final. 384
 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. 389
 Error sizes LineLength Line is longer than 80 characters (found 221). 391
 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. 394
 Error misc FinalParameters Parameter other should be final. 395
 Error coding SimplifyBooleanExpression Expression can be simplified. 399
 Error sizes LineLength Line is longer than 80 characters (found 358). 403

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 javadoc JavadocPackage Missing package-info.java file.
 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 JavadocPackage Missing package-info.java file.
 Error javadoc JavadocStyle First sentence should end with a period. 20
 Error regexp RegexpSingleline Line has trailing spaces. 22
 Error blocks LeftCurly '{' at column 1 should be on the previous line. 34
 Error javadoc JavadocStyle First sentence should end with a period. 36
 Error regexp RegexpSingleline Line has trailing spaces. 38
 Error javadoc JavadocVariable Missing a Javadoc comment. 43
 Error javadoc JavadocVariable Missing a Javadoc comment. 46
 Error javadoc JavadocVariable Missing a Javadoc comment. 49
 Error javadoc JavadocVariable Missing a Javadoc comment. 52
 Error javadoc JavadocVariable Missing a Javadoc comment. 55
 Error sizes LineLength Line is longer than 80 characters (found 85). 56
 Error javadoc JavadocStyle First sentence should end with a period. 58
 Error regexp RegexpSingleline Line has trailing spaces. 60
 Error javadoc JavadocStyle First sentence should end with a period. 70
 Error regexp RegexpSingleline Line has trailing spaces. 72
 Error misc FinalParameters Parameter enabled should be final. 78
 Error coding HiddenField 'enabled' hides a field. 78
 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. 82
 Error javadoc JavadocMethod Missing a Javadoc comment. 82
 Error misc FinalParameters Parameter enabled should be final. 82
 Error coding HiddenField 'enabled' hides a field. 82
 Error regexp RegexpSingleline Line has trailing spaces. 88
 Error regexp RegexpSingleline Line has trailing spaces. 99
 Error misc FinalParameters Parameter trustStore should be final. 105
 Error coding HiddenField 'trustStore' hides a field. 105
 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. 109
 Error javadoc JavadocMethod Missing a Javadoc comment. 109
 Error misc FinalParameters Parameter trustStore should be final. 109
 Error coding HiddenField 'trustStore' hides a field. 109
 Error regexp RegexpSingleline Line has trailing spaces. 115
 Error regexp RegexpSingleline Line has trailing spaces. 126
 Error misc FinalParameters Parameter trustStorePassword should be final. 132
 Error coding HiddenField 'trustStorePassword' hides a field. 132
 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. 136
 Error javadoc JavadocMethod Missing a Javadoc comment. 136
 Error misc FinalParameters Parameter trustStorePassword should be final. 136
 Error coding HiddenField 'trustStorePassword' hides a field. 136
 Error regexp RegexpSingleline Line has trailing spaces. 142
 Error regexp RegexpSingleline Line has trailing spaces. 153
 Error misc FinalParameters Parameter keyStore should be final. 159
 Error coding HiddenField 'keyStore' hides a field. 159
 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. 163
 Error javadoc JavadocMethod Missing a Javadoc comment. 163
 Error misc FinalParameters Parameter keyStore should be final. 163
 Error coding HiddenField 'keyStore' hides a field. 163
 Error regexp RegexpSingleline Line has trailing spaces. 169
 Error regexp RegexpSingleline Line has trailing spaces. 180
 Error misc FinalParameters Parameter keyStorePassword should be final. 186
 Error coding HiddenField 'keyStorePassword' hides a field. 186
 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. 190
 Error javadoc JavadocMethod Missing a Javadoc comment. 190
 Error misc FinalParameters Parameter keyStorePassword should be final. 190
 Error coding HiddenField 'keyStorePassword' hides a field. 190
 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. 195
 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. 200
 Error javadoc JavadocMethod Missing a Javadoc comment. 200
 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. 206
 Error javadoc JavadocMethod Missing a Javadoc comment. 206
 Error misc FinalParameters Parameter name should be final. 208
 Error misc FinalParameters Parameter value should be final. 208
 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. 212
 Error javadoc JavadocMethod Missing a Javadoc comment. 212
 Error misc FinalParameters Parameter name should be final. 212
 Error misc FinalParameters Parameter value should be final. 212
 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. 217
 Error sizes LineLength Line is longer than 80 characters (found 183). 219
 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. 222
 Error misc FinalParameters Parameter other should be final. 223
 Error coding SimplifyBooleanExpression Expression can be simplified. 227
 Error sizes LineLength Line is longer than 80 characters (found 294). 231