Removed netty from prom
This commit is contained in:
@@ -13,9 +13,9 @@ import java.util.UUID;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
public class StatusResponse {
|
public class StatusResponse {
|
||||||
Version version;
|
private Version version;
|
||||||
Players players;
|
private Players players;
|
||||||
Message description;
|
private Message description;
|
||||||
|
|
||||||
public String favicon;
|
public String favicon;
|
||||||
|
|
||||||
@@ -27,8 +27,8 @@ public class StatusResponse {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public class Version {
|
public class Version {
|
||||||
String name;
|
private String name;
|
||||||
int protocol;
|
private int protocol;
|
||||||
|
|
||||||
public Version(String name, int protocol) {
|
public Version(String name, int protocol) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
@@ -36,12 +36,12 @@ public class StatusResponse {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class Players {
|
public class Players {
|
||||||
int max;
|
private int max;
|
||||||
int online;
|
private int online;
|
||||||
List<Sample> sample;
|
private List<Sample> sample;
|
||||||
|
|
||||||
Players(int max, int online) {
|
public Players(int max, int online) {
|
||||||
this.max = max;
|
this.max = max;
|
||||||
this.online = online;
|
this.online = online;
|
||||||
this.sample = new ArrayList<>();
|
this.sample = new ArrayList<>();
|
||||||
@@ -51,11 +51,11 @@ public class StatusResponse {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class Sample {
|
public class Sample {
|
||||||
String name;
|
private String name;
|
||||||
String id;
|
private String id;
|
||||||
|
|
||||||
Sample(String name) {
|
public Sample(String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.id = UUID.randomUUID().toString();
|
this.id = UUID.randomUUID().toString();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user