Remove unused Vertx instance in AsyncMapTest leaking file descriptor

This commit is contained in:
Julien Viet
2019-10-31 16:33:26 +01:00
parent f59a6fc901
commit 07fe826f3c

View File

@@ -835,17 +835,12 @@ public abstract class AsyncMapTest extends VertxTestBase {
public static final class SomeClusterSerializableObject implements ClusterSerializable {
private String str;
// Trick smart data grid marshallers: make sure ClusterSerializable methods are the only way to serialize and deserialize this class
@SuppressWarnings("unused")
private final Vertx vertx;
public SomeClusterSerializableObject() {
vertx = Vertx.vertx();
}
public SomeClusterSerializableObject(String str) {
this.str = str;
vertx = Vertx.vertx();
}
@Override