src/share/classes/sun/rmi/transport/tcp/TCPChannel.java
Print this page
@@ -62,11 +62,11 @@
private final TCPEndpoint ep;
/** transport for this channel */
private final TCPTransport tr;
/** list of cached connections */
private final List<TCPConnection> freeList =
- new ArrayList<TCPConnection>();
+ new ArrayList<>();
/** frees cached connections that have expired (guarded by freeList) */
private Future<?> reaper = null;
/** using multiplexer (for bi-directional applet communication */
private boolean usingMultiplexer = false;
@@ -478,11 +478,11 @@
/** transport that will handle message on accepted connections */
private TCPTransport transport;
/** queue of connections to be accepted */
- private List<Connection> queue = new ArrayList<Connection>();
+ private List<Connection> queue = new ArrayList<>();
/** thread ID counter */
private static int threadNum = 0;
/**