Code Polishing (Sonar)

- remove redundant modifiers
- overridable methods called from ctors

Polishing - PR Comments
This commit is contained in:
Gary Russell
2015-12-03 15:23:12 -05:00
committed by Artem Bilan
parent ddb4321e1d
commit 255247ca9a
56 changed files with 447 additions and 381 deletions

View File

@@ -258,20 +258,20 @@ public abstract class AbstractMqttMessageDrivenChannelAdapter extends MessagePro
private volatile int qos;
public Topic(String topic, int qos) {
private Topic(String topic, int qos) {
this.topic = topic;
this.qos = qos;
}
public int getQos() {
private int getQos() {
return qos;
}
public void setQos(int qos) {
private void setQos(int qos) {
this.qos = qos;
}
public String getTopic() {
private String getTopic() {
return topic;
}