Resolves checkstyle errors for api-gateway, lazy-loading, leader-election (#1066)
* Reduces checkstyle errors in lazy-loading * Reduces checkstyle errors in leader-election * Reduces checkstyle errors in api-gateway
This commit is contained in:
committed by
Ilkka Seppälä
parent
7f06f3b78c
commit
eae09fc07e
@ -26,7 +26,7 @@ package com.iluwatar.leaderelection;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* Message used to transport data between instances.
|
||||
* Message used to transport data between instances.
|
||||
*/
|
||||
public class Message {
|
||||
|
||||
@ -34,7 +34,8 @@ public class Message {
|
||||
|
||||
private String content;
|
||||
|
||||
public Message() {}
|
||||
public Message() {
|
||||
}
|
||||
|
||||
public Message(MessageType type, String content) {
|
||||
this.type = type;
|
||||
|
Reference in New Issue
Block a user