forked from I2P_Developers/i2p.i2p
make public method protected
This commit is contained in:
@@ -16,7 +16,7 @@ import java.nio.channels.SelectableChannel;
|
||||
*/
|
||||
public abstract class AcceptingChannel extends SelectableChannel {
|
||||
|
||||
public abstract I2PSocket accept() throws I2PException, ConnectException;
|
||||
protected abstract I2PSocket accept() throws I2PException, ConnectException;
|
||||
|
||||
protected final I2PSocketManager _socketManager;
|
||||
|
||||
|
@@ -33,7 +33,7 @@ class AcceptingChannelImpl extends AcceptingChannel {
|
||||
private volatile I2PSocket next;
|
||||
private final I2PServerSocket socket;
|
||||
|
||||
public I2PSocket accept() throws I2PException, ConnectException {
|
||||
protected I2PSocket accept() throws I2PException, ConnectException {
|
||||
I2PSocket sock;
|
||||
try {
|
||||
sock = socket.accept();
|
||||
|
Reference in New Issue
Block a user