ActiveCluster - Checkstyle Results

ActiveCluster

##### Project Documentation

- About ActiveCluster
- Project Info
- Project Reports
  - Metrics
  - Checkstyle
  - Change Log
  - Developer Activity
  - File Activity
  - Project License
  - JavaDocs
  - JavaDoc Report
  - Source Xref
  - Test Xref
  - Unit Tests
  - Link Check Report
  - Task List
- Development Process

## Checkstyle Results

The following document contains the results of Checkstyle.

## Summary

Files | Infos | Warnings | Errors
--- | --- | --- | ---
44 | 0 | 0 | 931

## Files

Files | I | W | E
--- | --- | --- | ---
org/codehaus/activecluster/Cluster.java | 0 | 0 | 95
org/codehaus/activecluster/ClusterEvent.java | 0 | 0 | 1
org/codehaus/activecluster/ClusterEvent.java | 0 | 0 | 62
org/codehaus/activecluster/ClusterException.java | 0 | 0 | 17
org/codehaus/activecluster/ClusterFactory.java | 0 | 0 | 27
org/codehaus/activecluster/ClusterListener.java | 0 | 0 | 31
org/codehaus/activecluster/LocalNode.java | 0 | 0 | 20
org/codehaus/activecluster/Node.java | 0 | 0 | 23
org/codehaus/activecluster/Service.java | 0 | 0 | 28
org/codehaus/activecluster/election/ElectionStrategy.java | 0 | 0 | 21
org/codehaus/activecluster/election/impl/BullyElectionStrategy.java | 0 | 0 | 19
org/codehaus/activecluster/election/impl/package.html | 0 | 0 | 1
org/codehaus/activecluster/election/package.html | 0 | 0 | 1
org/codehaus/activecluster/impl/ActiveMQClusterFactory.java | 0 | 0 | 47
org/codehaus/activecluster/impl/DefaultCluster.java | 0 | 0 | 120
org/codehaus/activecluster/impl/DefaultClusterFactory.java | 0 | 0 | 1
org/codehaus/activecluster/impl/DefaultClusterFactory.java | 0 | 0 | 116
org/codehaus/activecluster/impl/NodeImpl.java | 0 | 0 | 46
org/codehaus/activecluster/impl/NonReplicatedLocalNode.java | 0 | 0 | 1
org/codehaus/activecluster/impl/NonReplicatedLocalNode.java | 0 | 0 | 22
org/codehaus/activecluster/impl/ReplicatedLocalNode.java | 0 | 0 | 29
org/codehaus/activecluster/impl/StateConsumer.java | 0 | 0 | 30
org/codehaus/activecluster/impl/StateService.java | 0 | 0 | 23
org/codehaus/activecluster/impl/StateServiceImpl.java | 0 | 0 | 119
org/codehaus/activecluster/impl/StateServiceStub.java | 0 | 0 | 31

### org/codehaus/activecluster/Cluster.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| Using the '.*' form of import should be avoided - javax.jms.*. | 21
| First sentence should end with a period. | 38
| Line is longer than 80 characters. | 39
| Redundant 'public' modifier. | 43
| First sentence should end with a period. | 45
| Expected an @return tag. | 50
| Redundant 'public' modifier. | 50
| First sentence should end with a period. | 52
| Redundant 'public' modifier. | 57
| Expected @param tag for 'listener'. | 57
| First sentence should end with a period. | 59
| Redundant 'public' modifier. | 64
| Expected @param tag for 'listener'. | 64
| First sentence should end with a period. | 66
| Expected an @return tag. | 72
| Redundant 'public' modifier. | 72
| Line has trailing spaces. | 74
| First sentence should end with a period. | 78
| Line is longer than 80 characters. | 86
| Redundant 'public' modifier. | 86
| Expected @throws tag for 'JMSException'. | 86
| First sentence should end with a period. | 88
| Expected an @return tag. | 96
| Line is longer than 80 characters. | 96
| Redundant 'public' modifier. | 96
| Expected @param tag for 'destination'. | 96
| Expected @throws tag for 'JMSException'. | 96
| First sentence should end with a period. | 98
| Line is longer than 80 characters. | 100
| Expected an @return tag. | 108
| Line is longer than 80 characters. | 108
| Redundant 'public' modifier. | 108
| Expected @param tag for 'destination'. | 108
| Expected @param tag for 'selector'. | 108
| Expected @throws tag for 'JMSException'. | 108
| Line is longer than 80 characters. | 112
| Line is longer than 80 characters. | 113
| Line is longer than 80 characters. | 117
| Line is longer than 80 characters. | 118
| Expected an @return tag. | 122
| Line is longer than 80 characters. | 122
| Redundant 'public' modifier. | 122
| Expected @throws tag for 'JMSException'. | 122
| First sentence should end with a period. | 128
| Expected an @return tag. | 134
| Redundant 'public' modifier. | 134
| Expected @throws tag for 'JMSException'. | 134
| First sentence should end with a period. | 136
| Expected an @return tag. | 142
| Redundant 'public' modifier. | 142
| Expected @throws tag for 'JMSException'. | 142
| First sentence should end with a period. | 144
| Expected an @return tag. | 150
| Redundant 'public' modifier. | 150
| Expected @throws tag for 'JMSException'. | 150
| First sentence should end with a period. | 152
| Expected an @return tag. | 158
| Redundant 'public' modifier. | 158
| Expected @throws tag for 'JMSException'. | 158
| First sentence should end with a period. | 160
| Expected an @return tag. | 167
| Line is longer than 80 characters. | 167
| Redundant 'public' modifier. | 167
| Expected @param tag for 'object'. | 167
| Expected @throws tag for 'JMSException'. | 167
| First sentence should end with a period. | 169
| Expected an @return tag. | 175
| Redundant 'public' modifier. | 175
| Expected @throws tag for 'JMSException'. | 175
| First sentence should end with a period. | 177
| Expected an @return tag. | 183
| Redundant 'public' modifier. | 183
| Expected @throws tag for 'JMSException'. | 183
| First sentence should end with a period. | 185
| Expected an @return tag. | 192
| Redundant 'public' modifier. | 192
| Expected @param tag for 'text'. | 192
| Expected @throws tag for 'JMSException'. | 192
| Line is longer than 80 characters. | 195
| Line is longer than 80 characters. | 203
| Expected @throws tag for 'InterruptedException'. | 203

### org/codehaus/activecluster/ClusterEvent.java

Error | Line
--- | ---
| File does not end with a newline. | 0

### org/codehaus/activecluster/ClusterEvent.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| First sentence should end with a period. | 25
| Line has trailing spaces. | 27
| First sentence should end with a period. | 31
| First sentence should end with a period. | 35
| First sentence should end with a period. | 39
| First sentence should end with a period. | 43
| Line has trailing spaces. | 47
| First sentence should end with a period. | 48
| Line has trailing spaces. | 52
| Missing a Javadoc comment. | 53
| Missing a Javadoc comment. | 54
| Missing a Javadoc comment. | 55
| First sentence should end with a period. | 57
| Parameter source should be final. | 68
| Expected @param tag for 'source'. | 68
| Parameter node should be final. | 68
| 'node' hides a field. | 68
| Expected @param tag for 'node'. | 68
| Parameter type should be final. | 68
| 'type' hides a field. | 68
| Expected @param tag for 'type'. | 68
| Method 'getCluster' is not designed for extension - needs to be abstract, final or empty. | 77
| First sentence should end with a period. | 81
| Method 'setCluster' is not designed for extension - needs to be abstract, final or empty. | 85
| Parameter source should be final. | 85
| Expected @param tag for 'source'. | 85
| '{' is not preceded with whitespace. | 85
| Method 'getNode' is not designed for extension - needs to be abstract, final or empty. | 91
| Method 'getType' is not designed for extension - needs to be abstract, final or empty. | 98
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 105
| First sentence should end with a period. | 109
| Line has trailing spaces. | 111
| Method 'writeExternal' is not designed for extension - needs to be abstract, final or empty. | 115
| Parameter out should be final. | 115
| Expected @param tag for 'out'. | 115
| Expected @throws tag for 'IOException'. | 115
| First sentence should end with a period. | 120
| Line has trailing spaces. | 122
| Line is longer than 80 characters. | 127
| Method 'readExternal' is not designed for extension - needs to be abstract, final or empty. | 127
| Parameter in should be final. | 127
| Expected @param tag for 'in'. | 127
| Expected @throws tag for 'IOException'. | 127
| Expected @throws tag for 'ClassNotFoundException'. | 127
| Missing a Javadoc comment. | 132
| '}' should be on the same line. | 136
| '}' should be on the same line. | 139
| '}' should be on the same line. | 142

### org/codehaus/activecluster/ClusterException.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| Line has trailing spaces. | 17
| First sentence should end with a period. | 22
| Line has trailing spaces. | 24

### org/codehaus/activecluster/ClusterFactory.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| First sentence should end with a period. | 25
| Line has trailing spaces. | 27
| First sentence should end with a period. | 32
| Line is longer than 80 characters. | 40
| Redundant 'public' modifier. | 40
| Expected @param tag for 'groupDestination'. | 40
| Expected @throws tag for 'ClusterException'. | 40
| Expected @throws tag for 'JMSException'. | 40
| First sentence should end with a period. | 42
| Line is longer than 80 characters. | 50
| Redundant 'public' modifier. | 50
| Expected @throws tag for 'ClusterException'. | 50
| Expected @throws tag for 'JMSException'. | 50

### org/codehaus/activecluster/ClusterListener.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| First sentence should end with a period. | 24
| First sentence should end with a period. | 31
| Redundant 'public' modifier. | 36
| Expected @param tag for 'event'. | 36
| First sentence should end with a period. | 38
| Redundant 'public' modifier. | 43
| Expected @param tag for 'event'. | 43
| First sentence should end with a period. | 45
| Redundant 'public' modifier. | 50
| Expected @param tag for 'event'. | 50
| First sentence should end with a period. | 52
| Redundant 'public' modifier. | 57
| Expected @param tag for 'event'. | 57
| Line has trailing spaces. | 58
| First sentence should end with a period. | 59
| Redundant 'public' modifier. | 63
| Expected @param tag for 'event'. | 63

### org/codehaus/activecluster/LocalNode.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| First sentence should end with a period. | 23
| Line has trailing spaces. | 25
| First sentence should end with a period. | 30
| Redundant 'public' modifier. | 36
| Expected @param tag for 'state'. | 36
| Expected @throws tag for 'JMSException'. | 36

### org/codehaus/activecluster/Node.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| First sentence should end with a period. | 25
| Line has trailing spaces. | 27
| Line has trailing spaces. | 34
| Redundant 'public' modifier. | 37
| Redundant 'public' modifier. | 42
| Line has trailing spaces. | 43
| Redundant 'public' modifier. | 47
| Line has trailing spaces. | 48
| Redundant 'public' modifier. | 52

### org/codehaus/activecluster/Service.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| Line has trailing spaces. | 23
| Line is longer than 80 characters. | 24
| Line has trailing spaces. | 29
| First sentence should end with a period. | 30
| Line has trailing spaces. | 30
| Redundant 'public' modifier. | 34
| Expected @throws tag for 'JMSException'. | 34
| Line has trailing spaces. | 35
| First sentence should end with a period. | 36
| Line has trailing spaces. | 36
| Line has trailing spaces. | 37
| Redundant 'public' modifier. | 40
| Expected @throws tag for 'JMSException'. | 40
| Line has trailing spaces. | 41

### org/codehaus/activecluster/election/ElectionStrategy.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| Line has trailing spaces. | 25
| Line has trailing spaces. | 31
| Line has trailing spaces. | 33
| Redundant 'public' modifier. | 38
| Expected @param tag for 'cluster'. | 38
| Expected @throws tag for 'JMSException'. | 38
| Line has trailing spaces. | 39

### org/codehaus/activecluster/election/impl/BullyElectionStrategy.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| Line is longer than 80 characters. | 30
| Method 'doElection' is not designed for extension - needs to be abstract, final or empty. | 44
| Parameter cluster should be final. | 44
| Expected @param tag for 'cluster'. | 44
| Expected @throws tag for 'JMSException'. | 44

### org/codehaus/activecluster/election/impl/package.html

Error | Line
--- | ---
| Missing package documentation file. | 0

### org/codehaus/activecluster/election/package.html

Error | Line
--- | ---
| Missing package documentation file. | 0

### org/codehaus/activecluster/impl/ActiveMQClusterFactory.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| Redundant import from the same package - org.codehaus.activecluster.impl.DefaultClusterFactory. | 20
| First sentence should end with a period. | 23
| Line has trailing spaces. | 30
| Line is longer than 80 characters. | 31
| Missing a Javadoc comment. | 31
| Name 'DEFAULT_CLUSTER_URL' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 31
| Variable 'DEFAULT_CLUSTER_URL' must be private and have accessor methods. | 31
| Missing a Javadoc comment. | 33
| Missing a Javadoc comment. | 37
| Parameter brokerURL should be final. | 37
| Missing a Javadoc comment. | 41
| Parameter connectionFactory should be final. | 41
| Line is longer than 80 characters. | 45
| Missing a Javadoc comment. | 45
| Parameter transacted should be final. | 45
| Parameter acknowledgeMode should be final. | 45
| Parameter dataTopicPrefix should be final. | 45
| Parameter inactiveTime should be final. | 45
| Line is longer than 80 characters. | 46
| Line is longer than 80 characters. | 49
| Missing a Javadoc comment. | 49
| Parameter connectionFactory should be final. | 49
| Parameter transacted should be final. | 49
| Parameter acknowledgeMode should be final. | 49
| Parameter dataTopicPrefix should be final. | 49
| Parameter inactiveTime should be final. | 49
| Line is longer than 80 characters. | 50
| Method 'getActiveMQConnectionFactory' is not designed for extension - needs to be abstract, final or empty. | 53
| Missing a Javadoc comment. | 53
| Line is longer than 80 characters. | 57
| Method 'setActiveMQConnectionFactory' is not designed for extension - needs to be abstract, final or empty. | 57
| Missing a Javadoc comment. | 57
| Parameter connectionFactory should be final. | 57

### org/codehaus/activecluster/impl/DefaultCluster.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| Using the '.*' form of import should be avoided - javax.jms.*. | 28
| First sentence should end with a period. | 33
| Missing a Javadoc comment. | 40
| 'static' modifier out of order with the JLS suggestions. | 40
| Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 40
| Missing a Javadoc comment. | 42
| Missing a Javadoc comment. | 43
| Missing a Javadoc comment. | 44
| Missing a Javadoc comment. | 45
| Missing a Javadoc comment. | 46
| Missing a Javadoc comment. | 47
| Missing a Javadoc comment. | 48
| Missing a Javadoc comment. | 49
| Missing a Javadoc comment. | 50
| Missing a Javadoc comment. | 51
| Line is longer than 80 characters. | 53
| Missing a Javadoc comment. | 53
| More than 7 parameters. | 53
| 'localNode' hides a field. | 53
| Parameter dataTopic should be final. | 53
| Parameter destination should be final. | 53
| 'destination' hides a field. | 53
| Parameter connection should be final. | 53
| 'connection' hides a field. | 53
| Parameter session should be final. | 53
| 'session' hides a field. | 53
| Line is longer than 80 characters. | 54
| Parameter producer should be final. | 54
| 'producer' hides a field. | 54
| Parameter timer should be final. | 54
| 'timer' hides a field. | 54
| Parameter inactiveTime should be final. | 54
| Line is longer than 80 characters. | 71
| Method 'addClusterListener' is not designed for extension - needs to be abstract, final or empty. | 81
| Missing a Javadoc comment. | 81
| Parameter listener should be final. | 81
| Method 'removeClusterListener' is not designed for extension - needs to be abstract, final or empty. | 85
| Missing a Javadoc comment. | 85
| Parameter listener should be final. | 85
| Method 'getDestination' is not designed for extension - needs to be abstract, final or empty. | 89
| Missing a Javadoc comment. | 89
| Method 'getLocalNode' is not designed for extension - needs to be abstract, final or empty. | 93
| Missing a Javadoc comment. | 93
| Method 'getNodes' is not designed for extension - needs to be abstract, final or empty. | 97
| Missing a Javadoc comment. | 97
| Line is longer than 80 characters. | 101
| Method 'send' is not designed for extension - needs to be abstract, final or empty. | 101
| Missing a Javadoc comment. | 101
| Parameter destination should be final. | 101
| 'destination' hides a field. | 101
| Parameter message should be final. | 101
| Line is longer than 80 characters. | 105
| Method 'createConsumer' is not designed for extension - needs to be abstract, final or empty. | 105
| Missing a Javadoc comment. | 105
| Parameter destination should be final. | 105
| 'destination' hides a field. | 105
| Line is longer than 80 characters. | 109
| Method 'createConsumer' is not designed for extension - needs to be abstract, final or empty. | 109
| Missing a Javadoc comment. | 109
| Parameter destination should be final. | 109
| 'destination' hides a field. | 109
| Parameter selector should be final. | 109
| Line is longer than 80 characters. | 113
| Method 'createConsumer' is not designed for extension - needs to be abstract, final or empty. | 113
| Missing a Javadoc comment. | 113
| Parameter destination should be final. | 113
| 'destination' hides a field. | 113
| Parameter selector should be final. | 113
| Parameter noLocal should be final. | 113
| Method 'createMessage' is not designed for extension - needs to be abstract, final or empty. | 117
| Missing a Javadoc comment. | 117
| Method 'createBytesMessage' is not designed for extension - needs to be abstract, final or empty. | 121
| Missing a Javadoc comment. | 121
| Method 'createMapMessage' is not designed for extension - needs to be abstract, final or empty. | 125
| Missing a Javadoc comment. | 125
| Line is longer than 80 characters. | 129
| Method 'createObjectMessage' is not designed for extension - needs to be abstract, final or empty. | 129
| Missing a Javadoc comment. | 129
| Line is longer than 80 characters. | 133
| Method 'createObjectMessage' is not designed for extension - needs to be abstract, final or empty. | 133
| Missing a Javadoc comment. | 133
| Parameter object should be final. | 133
| Line is longer than 80 characters. | 137
| Method 'createStreamMessage' is not designed for extension - needs to be abstract, final or empty. | 137
| Missing a Javadoc comment. | 137
| Method 'createTextMessage' is not designed for extension - needs to be abstract, final or empty. | 141
| Missing a Javadoc comment. | 141
| Line is longer than 80 characters. | 145
| Method 'createTextMessage' is not designed for extension - needs to be abstract, final or empty. | 145
| Missing a Javadoc comment. | 145
| Parameter text should be final. | 145
| Method 'start' is not designed for extension - needs to be abstract, final or empty. | 149
| Missing a Javadoc comment. | 149
| Method 'stop' is not designed for extension - needs to be abstract, final or empty. | 155
| Missing a Javadoc comment. | 155
| '}' should be on the same line. | 164
| Line is longer than 80 characters. | 171
| Method 'waitForClusterToComplete' is not designed for extension - needs to be abstract, final or empty. | 171
| Missing a Javadoc comment. | 171
| Parameter expectedCount should be final. | 171
| Parameter timeout should be final. | 171
| Avoid inline conditionals. | 172
| Line is longer than 80 characters. | 176
| Method 'getSession' is not designed for extension - needs to be abstract, final or empty. | 184
| Missing a Javadoc comment. | 184
| Line is longer than 80 characters. | 186

### org/codehaus/activecluster/impl/DefaultClusterFactory.java

Error | Line
--- | ---
| File does not end with a newline. | 0

### org/codehaus/activecluster/impl/DefaultClusterFactory.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| First sentence should end with a period. | 36
| Line is longer than 80 characters. | 43
| Missing a Javadoc comment. | 43
| 'static' modifier out of order with the JLS suggestions. | 43
| Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 43
| Missing a Javadoc comment. | 45
| Missing a Javadoc comment. | 46
| Missing a Javadoc comment. | 47
| Missing a Javadoc comment. | 48
| Missing a Javadoc comment. | 49
| Missing a Javadoc comment. | 50
| Missing a Javadoc comment. | 51
| Line is longer than 80 characters. | 53
| Missing a Javadoc comment. | 53
| Parameter connectionFactory should be final. | 53
| 'connectionFactory' hides a field. | 53
| Parameter transacted should be final. | 53
| 'transacted' hides a field. | 53
| Parameter acknowledgeMode should be final. | 53
| 'acknowledgeMode' hides a field. | 53
| Parameter dataTopicPrefix should be final. | 53
| 'dataTopicPrefix' hides a field. | 53
| Parameter inactiveTime should be final. | 53
| 'inactiveTime' hides a field. | 53
| Missing a Javadoc comment. | 61
| Parameter connectionFactory should be final. | 61
| 'connectionFactory' hides a field. | 61
| Line is longer than 80 characters. | 62
| '5000L' is a magic number. | 62
| Line is longer than 80 characters. | 65
| Method 'createCluster' is not designed for extension - needs to be abstract, final or empty. | 65
| Missing a Javadoc comment. | 65
| Parameter groupDestination should be final. | 65
| Line is longer than 80 characters. | 71
| Method 'createCluster' is not designed for extension - needs to be abstract, final or empty. | 71
| Missing a Javadoc comment. | 71
| Parameter topic should be final. | 71
| Method 'getDataTopicPrefix' is not designed for extension - needs to be abstract, final or empty. | 80
| Missing a Javadoc comment. | 80
| Method 'setDataTopicPrefix' is not designed for extension - needs to be abstract, final or empty. | 84
| Missing a Javadoc comment. | 84
| Parameter dataTopicPrefix should be final. | 84
| 'dataTopicPrefix' hides a field. | 84
| Method 'getAcknowledgeMode' is not designed for extension - needs to be abstract, final or empty. | 88
| Missing a Javadoc comment. | 88
| Method 'setAcknowledgeMode' is not designed for extension - needs to be abstract, final or empty. | 92
| Missing a Javadoc comment. | 92
| Parameter acknowledgeMode should be final. | 92
| 'acknowledgeMode' hides a field. | 92
| Method 'getInactiveTime' is not designed for extension - needs to be abstract, final or empty. | 96
| Missing a Javadoc comment. | 96
| Method 'setInactiveTime' is not designed for extension - needs to be abstract, final or empty. | 100
| Missing a Javadoc comment. | 100
| Parameter inactiveTime should be final. | 100
| 'inactiveTime' hides a field. | 100
| Method 'isTransacted' is not designed for extension - needs to be abstract, final or empty. | 104
| Missing a Javadoc comment. | 104
| Method 'setTransacted' is not designed for extension - needs to be abstract, final or empty. | 108
| Missing a Javadoc comment. | 108
| Parameter transacted should be final. | 108
| 'transacted' hides a field. | 108
| Method 'isUseQueueForInbox' is not designed for extension - needs to be abstract, final or empty. | 112
| Missing a Javadoc comment. | 112
| Method 'setUseQueueForInbox' is not designed for extension - needs to be abstract, final or empty. | 116
| Missing a Javadoc comment. | 116
| Parameter useQueueForInbox should be final. | 116
| 'useQueueForInbox' hides a field. | 116
| Method 'getConnectionFactory' is not designed for extension - needs to be abstract, final or empty. | 120
| Missing a Javadoc comment. | 120
| Method 'setConnectionFactory' is not designed for extension - needs to be abstract, final or empty. | 124
| Missing a Javadoc comment. | 124
| Parameter connectionFactory should be final. | 124
| 'connectionFactory' hides a field. | 124
| Method 'getDeliveryMode' is not designed for extension - needs to be abstract, final or empty. | 128
| Missing a Javadoc comment. | 128
| First sentence should end with a period. | 132
| Method 'setDeliveryMode' is not designed for extension - needs to be abstract, final or empty. | 135
| Parameter deliveryMode should be final. | 135
| 'deliveryMode' hides a field. | 135
| Expected @param tag for 'deliveryMode'. | 135
| Line is longer than 80 characters. | 141
| Method 'createCluster' is not designed for extension - needs to be abstract, final or empty. | 141
| Missing a Javadoc comment. | 141
| Parameter connection should be final. | 141
| Parameter session should be final. | 141
| Parameter groupDestination should be final. | 141
| Line is longer than 80 characters. | 142
| Line is longer than 80 characters. | 144
| Line is longer than 80 characters. | 153
| '}' should be on the same line. | 158
| Line is longer than 80 characters. | 162
| Line is longer than 80 characters. | 164
| Line is longer than 80 characters. | 169
| Line is longer than 80 characters. | 171
| Line has trailing spaces. | 174
| Line is longer than 80 characters. | 175
| Method 'createProducer' is not designed for extension - needs to be abstract, final or empty. | 175
| Missing a Javadoc comment. | 175
| Parameter session should be final. | 175
| Parameter groupDestination should be final. | 175
| Method 'createSession' is not designed for extension - needs to be abstract, final or empty. | 179
| Missing a Javadoc comment. | 179
| Parameter connection should be final. | 179

### org/codehaus/activecluster/impl/NodeImpl.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| First sentence should end with a period. | 27
| Missing a Javadoc comment. | 34
| Missing a Javadoc comment. | 35
| Variable 'state' must be private and have accessor methods. | 35
| Missing a Javadoc comment. | 36
| Variable 'coordinator' must be private and have accessor methods. | 36
| First sentence should end with a period. | 38
| Parameter node should be final. | 43
| Expected @param tag for 'node'. | 43
| Missing a Javadoc comment. | 47
| Parameter destination should be final. | 47
| 'destination' hides a field. | 47
| Missing a Javadoc comment. | 51
| Parameter destination should be final. | 51
| 'destination' hides a field. | 51
| Parameter state should be final. | 51
| 'state' hides a field. | 51
| Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 59
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 63
| Missing a Javadoc comment. | 63
| Method 'getDestination' is not designed for extension - needs to be abstract, final or empty. | 67
| Missing a Javadoc comment. | 67
| Method 'getState' is not designed for extension - needs to be abstract, final or empty. | 71
| Missing a Javadoc comment. | 71
| Method 'setState' is not designed for extension - needs to be abstract, final or empty. | 76
| Missing a Javadoc comment. | 76
| Parameter state should be final. | 76
| 'state' hides a field. | 76
| Method 'isCoordinator' is not designed for extension - needs to be abstract, final or empty. | 84
| Method 'setCoordinator' is not designed for extension - needs to be abstract, final or empty. | 88
| Missing a Javadoc comment. | 88
| Parameter value should be final. | 88

### org/codehaus/activecluster/impl/NonReplicatedLocalNode.java

Error | Line
--- | ---
| File does not end with a newline. | 0

### org/codehaus/activecluster/impl/NonReplicatedLocalNode.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| First sentence should end with a period. | 25
| Line has trailing spaces. | 28
| Missing a Javadoc comment. | 32
| Parameter destination should be final. | 32
| Method 'setState' is not designed for extension - needs to be abstract, final or empty. | 36
| Missing a Javadoc comment. | 36
| Parameter state should be final. | 36
| Missing a Javadoc comment. | 40

### org/codehaus/activecluster/impl/ReplicatedLocalNode.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| First sentence should end with a period. | 28
| Line is longer than 80 characters. | 34
| Missing a Javadoc comment. | 36
| Line is longer than 80 characters. | 38
| Missing a Javadoc comment. | 38
| Parameter destination should be final. | 38
| Parameter serviceStub should be final. | 38
| 'serviceStub' hides a field. | 38
| Method 'setState' is not designed for extension - needs to be abstract, final or empty. | 43
| Missing a Javadoc comment. | 43
| Parameter state should be final. | 43
| Method 'pingRemoteNodes' is not designed for extension - needs to be abstract, final or empty. | 48
| Missing a Javadoc comment. | 48
| Missing a Javadoc comment. | 52
| Missing a Javadoc comment. | 56

### org/codehaus/activecluster/impl/StateConsumer.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| First sentence should end with a period. | 29
| Missing a Javadoc comment. | 37
| 'static' modifier out of order with the JLS suggestions. | 37
| Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 37
| Missing a Javadoc comment. | 39
| Missing a Javadoc comment. | 41
| Parameter stateService should be final. | 41
| 'stateService' hides a field. | 41
| Line is longer than 80 characters. | 43
| Method 'onMessage' is not designed for extension - needs to be abstract, final or empty. | 48
| Missing a Javadoc comment. | 48
| Parameter message should be final. | 48
| '}' should be on the same line. | 60
| '}' should be on the same line. | 64
| Line is longer than 80 characters. | 66
| '}' should be on the same line. | 68

### org/codehaus/activecluster/impl/StateService.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| Unused import - org.codehaus.activecluster.election.ElectionStrategy. | 21
| First sentence should end with a period. | 24
| First sentence should end with a period. | 31
| Redundant 'public' modifier. | 36
| Expected @param tag for 'node'. | 36
| First sentence should end with a period. | 38
| Redundant 'public' modifier. | 41
| Expected @param tag for 'node'. | 41
| Line has trailing spaces. | 42

### org/codehaus/activecluster/impl/StateServiceImpl.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| First sentence should end with a period. | 42
| Missing a Javadoc comment. | 49
| 'static' modifier out of order with the JLS suggestions. | 49
| Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 49
| Missing a Javadoc comment. | 50
| Missing a Javadoc comment. | 51
| Missing a Javadoc comment. | 52
| Missing a Javadoc comment. | 53
| Missing a Javadoc comment. | 54
| Missing a Javadoc comment. | 55
| Missing a Javadoc comment. | 56
| Missing a Javadoc comment. | 57
| Missing a Javadoc comment. | 58
| Missing a Javadoc comment. | 59
| Line is longer than 80 characters. | 61
| Missing a Javadoc comment. | 61
| Parameter cluster should be final. | 61
| 'cluster' hides a field. | 61
| Parameter clusterLock should be final. | 61
| 'clusterLock' hides a field. | 61
| Parameter localNodePing should be final. | 61
| 'localNodePing' hides a field. | 61
| Parameter timer should be final. | 61
| 'timer' hides a field. | 61
| Parameter inactiveTime should be final. | 61
| 'inactiveTime' hides a field. | 61
| '3' is a magic number. | 68
| Line is longer than 80 characters. | 70
| 'cast' is not followed by whitespace. | 70
| Line has trailing spaces. | 73
| Method 'getElectionStrategy' is not designed for extension - needs to be abstract, final or empty. | 77
| '{' is not preceded with whitespace. | 77
| Line has trailing spaces. | 80
| First sentence should end with a period. | 81
| Method 'setElectionStrategy' is not designed for extension - needs to be abstract, final or empty. | 85
| Parameter electionStrategy should be final. | 85
| 'electionStrategy' hides a field. | 85
| Expected @param tag for 'electionStrategy'. | 85
| '{' is not preceded with whitespace. | 85
| Method 'getInactiveTime' is not designed for extension - needs to be abstract, final or empty. | 89
| Missing a Javadoc comment. | 89
| Method 'setInactiveTime' is not designed for extension - needs to be abstract, final or empty. | 93
| Missing a Javadoc comment. | 93
| Parameter inactiveTime should be final. | 93
| 'inactiveTime' hides a field. | 93
| Method 'getNodes' is not designed for extension - needs to be abstract, final or empty. | 97
| Missing a Javadoc comment. | 97
| Method 'keepAlive' is not designed for extension - needs to be abstract, final or empty. | 108
| Missing a Javadoc comment. | 108
| Parameter node should be final. | 108
| '}' should be on the same line. | 120
| Method 'shutdown' is not designed for extension - needs to be abstract, final or empty. | 135
| Missing a Javadoc comment. | 135
| Parameter node should be final. | 135
| Line is longer than 80 characters. | 139
| Method 'checkForTimeouts' is not designed for extension - needs to be abstract, final or empty. | 148
| Missing a Javadoc comment. | 148
| Method 'createTimerTask' is not designed for extension - needs to be abstract, final or empty. | 161
| Missing a Javadoc comment. | 161
| Method 'addClusterListener' is not designed for extension - needs to be abstract, final or empty. | 169
| Missing a Javadoc comment. | 169
| Parameter listener should be final. | 169
| Method 'removeClusterListener' is not designed for extension - needs to be abstract, final or empty. | 173
| Missing a Javadoc comment. | 173
| Parameter listener should be final. | 173
| Method 'nodeAdded' is not designed for extension - needs to be abstract, final or empty. | 177
| Missing a Javadoc comment. | 177
| Parameter node should be final. | 177
| Line is longer than 80 characters. | 178
| Method 'nodeUpdated' is not designed for extension - needs to be abstract, final or empty. | 188
| Missing a Javadoc comment. | 188
| Parameter node should be final. | 188
| Line is longer than 80 characters. | 189
| Method 'nodeFailed' is not designed for extension - needs to be abstract, final or empty. | 198
| Missing a Javadoc comment. | 198
| Parameter node should be final. | 198
| Line is longer than 80 characters. | 199
| Line has trailing spaces. | 208
| Method 'coordinatorChanged' is not designed for extension - needs to be abstract, final or empty. | 209
| Missing a Javadoc comment. | 209
| Parameter node should be final. | 209
| Line is longer than 80 characters. | 210
| Line has trailing spaces. | 218
| Method 'doElection' is not designed for extension - needs to be abstract, final or empty. | 219
| Missing a Javadoc comment. | 219
| Line is longer than 80 characters. | 222
| 'catch' is not preceded with whitespace. | 229
| '}' is not followed by whitespace. | 229
| 'catch' is not followed by whitespace. | 229
| '{' is not preceded with whitespace. | 229
| ',' is not followed by whitespace. | 230
| Expected an @return tag. | 243
| Method 'getTimeMillis' is not designed for extension - needs to be abstract, final or empty. | 243
| Missing a Javadoc comment. | 247
| Missing a Javadoc comment. | 248
| Variable 'node' must be private and have accessor methods. | 248
| Missing a Javadoc comment. | 249
| Variable 'lastKeepAlive' must be private and have accessor methods. | 249
| Line is longer than 80 characters. | 254
| Method 'stateHasChanged' is not designed for extension - needs to be abstract, final or empty. | 257
| Parameter oldNode should be final. | 257
| Expected @param tag for 'oldNode'. | 257
| Parameter newNode should be final. | 257
| Expected @param tag for 'newNode'. | 257
| Line is longer than 80 characters. | 263

### org/codehaus/activecluster/impl/StateServiceStub.java

Error | Line
--- | ---
| Line does not match expected header line of '&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;'. | 1
| Line has trailing spaces. | 1
| Line has trailing spaces. | 2
| Line has trailing spaces. | 4
| Line has trailing spaces. | 5
| Line has trailing spaces. | 6
| Line has trailing spaces. | 7
| Line has trailing spaces. | 8
| Line has trailing spaces. | 10
| Line has trailing spaces. | 12
| Line has trailing spaces. | 13
| Line has trailing spaces. | 14
| Line has trailing spaces. | 15
| Line has trailing spaces. | 16
| First sentence should end with a period. | 30
| Missing a Javadoc comment. | 38
| Missing a Javadoc comment. | 40
| Missing a Javadoc comment. | 41
| Missing a Javadoc comment. | 43
| Parameter session should be final. | 43
| 'session' hides a field. | 43
| Parameter producer should be final. | 43
| 'producer' hides a field. | 43
| Method 'keepAlive' is not designed for extension - needs to be abstract, final or empty. | 48
| Missing a Javadoc comment. | 48
| Parameter node should be final. | 48
| '}' should be on the same line. | 56
| Method 'shutdown' is not designed for extension - needs to be abstract, final or empty. | 62
| Missing a Javadoc comment. | 62
| Parameter node should be final. | 62
| '}' should be on the same line. | 71