Changeset 6176aae for core


Ignore:
Timestamp:
Jan 21, 2018 2:29:48 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
709657e
Parents:
d8c3f61
Message:

Util: Don't throw unsupported on setSoLinger()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/util/InternalSocket.java

    rd8c3f61 r6176aae  
    297297        throw new UnsupportedOperationException();
    298298    }
    299     /** @deprecated unsupported */
    300     @Deprecated
    301     @Override
    302     public void setSoLinger(boolean on, int linger) {
    303         throw new UnsupportedOperationException();
    304     }
     299
     300    /**
     301     * Does nothing as of 0.9.33, prior to that threw UnsupportedOperationException
     302     */
     303    @Override
     304    public void setSoLinger(boolean on, int linger) {}
     305
    305306    /** @deprecated unsupported */
    306307    @Deprecated
Note: See TracChangeset for help on using the changeset viewer.