generated from LabyMod/addon-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reduce the number of objects that are created
- Loading branch information
1 parent
2056081
commit fd38f49
Showing
10 changed files
with
95 additions
and
168 deletions.
There are no files selected for viewing
20 changes: 0 additions & 20 deletions
20
core/src/main/java/top/einsluca/autogg/server/AntiACConfiguration.java
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
core/src/main/java/top/einsluca/autogg/server/CafeStubeConfiguration.java
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
core/src/main/java/top/einsluca/autogg/server/CytooxienConfiguration.java
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
core/src/main/java/top/einsluca/autogg/server/GommeHDConfiguration.java
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
core/src/main/java/top/einsluca/autogg/server/MCCIslandConfiguration.java
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
core/src/main/java/top/einsluca/autogg/server/NeruxVaceConfiguration.java
This file was deleted.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
core/src/main/java/top/einsluca/autogg/server/ServerConfigurationImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package top.einsluca.autogg.server; | ||
|
||
import java.util.List; | ||
|
||
public class ServerConfigurationImpl implements ServerConfiguration { | ||
|
||
private final List<String> serverAddress; | ||
private final List<String> format; | ||
private final List<String> filter; | ||
|
||
public ServerConfigurationImpl(List<String> addresses, List<String> formats, List<String> filters) { | ||
this.serverAddress = addresses; | ||
this.format = formats; | ||
this.filter = filters; | ||
} | ||
|
||
@Override | ||
public List<String> getServerAddress() { | ||
return serverAddress; | ||
} | ||
|
||
@Override | ||
public List<String> getFormat() { | ||
return format; | ||
} | ||
|
||
@Override | ||
public List<String> getFilter() { | ||
return filter; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
core/src/main/java/top/einsluca/autogg/server/SkyDinseConfiguration.java
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
core/src/main/java/top/einsluca/autogg/server/StayMCConfiguration.java
This file was deleted.
Oops, something went wrong.