Changeset 64f5c662


Ignore:
Timestamp:
Dec 20, 2015 2:20:28 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
05b40a2
Parents:
e9146eb
Message:

synch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/InNetMessagePool.java

    re9146eb r64f5c662  
    9595     * @throws AIOOBE if i2npMessageType is greater than MAX_I2NP_MESSAGE_TYPE
    9696     */
    97     public HandlerJobBuilder registerHandlerJobBuilder(int i2npMessageType, HandlerJobBuilder builder) {
     97    public synchronized HandlerJobBuilder registerHandlerJobBuilder(int i2npMessageType, HandlerJobBuilder builder) {
    9898        HandlerJobBuilder old = _handlerJobBuilders[i2npMessageType];
    9999        _handlerJobBuilders[i2npMessageType] = builder;
     
    104104     * @return previous builder for this message type, or null
    105105     * @throws AIOOBE if i2npMessageType is greater than MAX_I2NP_MESSAGE_TYPE
     106     * @deprecated unused
    106107     */
    107     public HandlerJobBuilder unregisterHandlerJobBuilder(int i2npMessageType) {
     108    @Deprecated
     109    public synchronized HandlerJobBuilder unregisterHandlerJobBuilder(int i2npMessageType) {
    108110        HandlerJobBuilder old = _handlerJobBuilders[i2npMessageType];
    109111        _handlerJobBuilders[i2npMessageType] = null;
Note: See TracChangeset for help on using the changeset viewer.