forked from I2P_Developers/i2p.i2p
sort imports
This commit is contained in:
@@ -1,11 +1,5 @@
|
||||
package net.i2p.client.streaming.impl;
|
||||
|
||||
import net.i2p.I2PException;
|
||||
import net.i2p.client.streaming.AcceptingChannel;
|
||||
import net.i2p.client.streaming.I2PServerSocket;
|
||||
import net.i2p.client.streaming.I2PSocket;
|
||||
import net.i2p.client.streaming.I2PSocketManager;
|
||||
|
||||
import java.net.SocketTimeoutException;
|
||||
import java.net.ConnectException;
|
||||
import java.io.IOException;
|
||||
@@ -16,6 +10,12 @@ import java.nio.channels.Selector;
|
||||
import java.nio.channels.spi.AbstractSelectionKey;
|
||||
import java.nio.channels.spi.SelectorProvider;
|
||||
|
||||
import net.i2p.I2PException;
|
||||
import net.i2p.client.streaming.AcceptingChannel;
|
||||
import net.i2p.client.streaming.I2PServerSocket;
|
||||
import net.i2p.client.streaming.I2PSocket;
|
||||
import net.i2p.client.streaming.I2PSocketManager;
|
||||
|
||||
/**
|
||||
* As this does not (yet) extend ServerSocketChannel it cannot be returned by StandardServerSocket.getChannel(),
|
||||
* until we implement an I2P SocketAddress class.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package net.i2p.client.streaming.impl;
|
||||
|
||||
import java.net.SocketTimeoutException;
|
||||
|
||||
import net.i2p.I2PException;
|
||||
import net.i2p.client.streaming.AcceptingChannel;
|
||||
import net.i2p.client.streaming.I2PServerSocket;
|
||||
|
||||
@@ -8,10 +8,10 @@ import java.util.concurrent.atomic.AtomicBoolean;
|
||||
|
||||
import net.i2p.I2PAppContext;
|
||||
import net.i2p.client.I2PSession;
|
||||
import net.i2p.data.Destination;
|
||||
import net.i2p.util.Log;
|
||||
import net.i2p.client.streaming.I2PSocket;
|
||||
import net.i2p.client.streaming.I2PSocketOptions;
|
||||
import net.i2p.data.Destination;
|
||||
import net.i2p.util.Log;
|
||||
|
||||
/**
|
||||
* Bridge between the full streaming lib and the I2PSocket API
|
||||
|
||||
@@ -15,12 +15,12 @@ import net.i2p.I2PAppContext;
|
||||
import net.i2p.I2PException;
|
||||
import net.i2p.client.I2PSession;
|
||||
import net.i2p.client.I2PSessionException;
|
||||
import net.i2p.data.Destination;
|
||||
import net.i2p.util.Log;
|
||||
import net.i2p.client.streaming.I2PServerSocket;
|
||||
import net.i2p.client.streaming.I2PSocket;
|
||||
import net.i2p.client.streaming.I2PSocketManager;
|
||||
import net.i2p.client.streaming.I2PSocketOptions;
|
||||
import net.i2p.data.Destination;
|
||||
import net.i2p.util.Log;
|
||||
|
||||
/**
|
||||
* Centralize the coordination and multiplexing of the local client's streaming.
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
package net.i2p.client.streaming.impl;
|
||||
|
||||
import net.i2p.client.streaming.I2PSocket;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InterruptedIOException;
|
||||
import java.nio.ByteBuffer;
|
||||
@@ -16,6 +14,8 @@ import java.nio.channels.spi.SelectorProvider;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import net.i2p.client.streaming.I2PSocket;
|
||||
|
||||
/**
|
||||
* As this does not (yet) extend SocketChannel it cannot be returned by StandardSocket.getChannel(),
|
||||
* until we implement an I2P SocketAddress class.
|
||||
|
||||
@@ -2,6 +2,7 @@ package net.i2p.client.streaming.impl;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
import net.i2p.I2PAppContext;
|
||||
import net.i2p.I2PException;
|
||||
import net.i2p.data.Destination;
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
package net.i2p.client.streaming.impl;
|
||||
|
||||
import net.i2p.client.streaming.I2PSocket;
|
||||
import net.i2p.client.streaming.I2PSocketOptions;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
@@ -12,6 +9,9 @@ import java.net.SocketAddress;
|
||||
import java.net.SocketException;
|
||||
import java.nio.channels.SocketChannel;
|
||||
|
||||
import net.i2p.client.streaming.I2PSocket;
|
||||
import net.i2p.client.streaming.I2PSocketOptions;
|
||||
|
||||
/**
|
||||
* Bridge to I2PSocket.
|
||||
*
|
||||
|
||||
@@ -6,12 +6,11 @@ import java.util.Properties;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import net.i2p.I2PAppContext;
|
||||
import static net.i2p.client.streaming.impl.I2PSocketOptionsImpl.getDouble;
|
||||
import net.i2p.data.Destination;
|
||||
import net.i2p.util.Log;
|
||||
import net.i2p.util.SimpleTimer2;
|
||||
|
||||
import static net.i2p.client.streaming.impl.I2PSocketOptionsImpl.getDouble;
|
||||
|
||||
/**
|
||||
* Share important TCP Control Block parameters across Connections
|
||||
* to the same remote peer.
|
||||
|
||||
Reference in New Issue
Block a user