make public method protected

This commit is contained in:
zab2
2014-01-04 19:56:55 +00:00
parent f9ff262318
commit 50f55877f8
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ import java.nio.channels.SelectableChannel;
*/ */
public abstract class AcceptingChannel extends 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; protected final I2PSocketManager _socketManager;

View File

@@ -33,7 +33,7 @@ class AcceptingChannelImpl extends AcceptingChannel {
private volatile I2PSocket next; private volatile I2PSocket next;
private final I2PServerSocket socket; private final I2PServerSocket socket;
public I2PSocket accept() throws I2PException, ConnectException { protected I2PSocket accept() throws I2PException, ConnectException {
I2PSocket sock; I2PSocket sock;
try { try {
sock = socket.accept(); sock = socket.accept();