lib: remove unnecessary methods in PieCannon
This commit is contained in:
parent
c226691762
commit
c4dc20d070
@ -13,17 +13,7 @@ import com.google.common.base.Charsets;
|
||||
import com.google.common.io.CharSource;
|
||||
import com.google.common.io.ByteStreams;
|
||||
|
||||
public class PieCannon {
|
||||
private final List<Server> servers = new ArrayList<>();
|
||||
|
||||
public void addServer (final Server server) {
|
||||
servers.add(server);
|
||||
}
|
||||
|
||||
public List<Server> getServers () {
|
||||
return Collections.unmodifiableList(servers);
|
||||
}
|
||||
|
||||
public class PieCannon {
|
||||
public static boolean testServer (final Server server) {
|
||||
final String testString = "piecannon-test-" + System.currentTimeMillis();
|
||||
final URI result = server.upload("piecannon.test", CharSource.wrap(testString).asByteSource(Charsets.UTF_8));
|
||||
|
Loading…
x
Reference in New Issue
Block a user