forked from I2P_Developers/i2p.i2p
Util: Don't throw unsupported on setSoLinger()
This commit is contained in:
@@ -296,12 +296,13 @@ public class InternalSocket extends Socket {
|
||||
public void setSendBufferSize(int size) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
/** @deprecated unsupported */
|
||||
@Deprecated
|
||||
|
||||
/**
|
||||
* Does nothing as of 0.9.33, prior to that threw UnsupportedOperationException
|
||||
*/
|
||||
@Override
|
||||
public void setSoLinger(boolean on, int linger) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
public void setSoLinger(boolean on, int linger) {}
|
||||
|
||||
/** @deprecated unsupported */
|
||||
@Deprecated
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user