We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1b18b2 commit a4b8b10Copy full SHA for a4b8b10
eternalcore-core/src/main/java/com/eternalcode/core/feature/serverlinks/ServerLinksEntry.java
@@ -2,23 +2,27 @@
2
3
import net.dzikoysk.cdn.entity.Contextual;
4
5
+@SuppressWarnings("unused")
6
@Contextual
7
public class ServerLinksEntry {
8
- public final String name;
9
- public final String address;
+ public String name;
10
+ public String address;
11
12
public ServerLinksEntry(String name, String address) {
13
this.name = name;
14
this.address = address;
15
}
16
17
+ public ServerLinksEntry() {
18
+ }
19
+
20
public static ServerLinksEntry of(String name, String address) {
21
return new ServerLinksEntry(name, address);
22
23
24
public String name() {
- return name;
25
+ return this.name;
26
27
28
public String address() {
0 commit comments