broker/InterceptAcknowledgedMessage: code formatter used

This commit is contained in:
Andreas Mager
2017-02-01 17:13:36 +01:00
parent fdce1bbc59
commit 25bb6f50a5
@@ -1,27 +1,29 @@
package io.moquette.interception.messages;
import static io.moquette.spi.IMessagesStore.StoredMessage;
public class InterceptAcknowledgedMessage implements InterceptMessage {
final private StoredMessage msg;
private final String username;
private final String topic;
public InterceptAcknowledgedMessage( final StoredMessage msg, final String topic, final String username) {
this.msg = msg;
this.username = username;
this.topic = topic;
}
public StoredMessage getMsg() {
return msg;
}
public String getUsername() {
return username;
}
final private StoredMessage msg;
private final String username;
private final String topic;
public String getTopic() {
return topic;
}
public InterceptAcknowledgedMessage(final StoredMessage msg, final String topic, final String username) {
this.msg = msg;
this.username = username;
this.topic = topic;
}
public StoredMessage getMsg() {
return msg;
}
public String getUsername() {
return username;
}
public String getTopic() {
return topic;
}
}