Skip to content

Commit a4b8b10

Browse files
committed
Fix cdn error in ServerLinksEntry.
1 parent f1b18b2 commit a4b8b10

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

eternalcore-core/src/main/java/com/eternalcode/core/feature/serverlinks/ServerLinksEntry.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,27 @@
22

33
import net.dzikoysk.cdn.entity.Contextual;
44

5+
@SuppressWarnings("unused")
56
@Contextual
67
public class ServerLinksEntry {
78

8-
public final String name;
9-
public final String address;
9+
public String name;
10+
public String address;
1011

1112
public ServerLinksEntry(String name, String address) {
1213
this.name = name;
1314
this.address = address;
1415
}
1516

17+
public ServerLinksEntry() {
18+
}
19+
1620
public static ServerLinksEntry of(String name, String address) {
1721
return new ServerLinksEntry(name, address);
1822
}
1923

2024
public String name() {
21-
return name;
25+
return this.name;
2226
}
2327

2428
public String address() {

0 commit comments

Comments
 (0)