fix generics warning

This commit is contained in:
javanna 2017-01-10 13:20:20 +01:00 committed by Luca Cavanna
parent 7f6c89f9a8
commit fc815ddb75
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ final class RemoteClusterConnection extends AbstractComponent implements Transpo
private final TransportService transportService;
private final ConnectionProfile remoteProfile;
private final CopyOnWriteArrayList<DiscoveryNode> connectedNodes = new CopyOnWriteArrayList();
private final CopyOnWriteArrayList<DiscoveryNode> connectedNodes = new CopyOnWriteArrayList<>();
private final Supplier<DiscoveryNode> nodeSupplier;
private final String clusterAlias;
private final int maxNumRemoteConnections;