mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
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