Changeset 6600f37 for apps


Ignore:
Timestamp:
May 15, 2019 10:58:15 AM (11 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
a6e6d29d
Parents:
efa72db
Message:

Streaming: Fix NPE in debug logging (ticket #2504)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/streaming/java/src/net/i2p/client/streaming/impl/ConnectionOptions.java

    refa72db r6600f37  
    900900        buf.append(" inboundBuffer=").append(_inboundBufferSize);
    901901        buf.append(" maxWindowSize=").append(_maxWindowSize);
    902         buf.append(" blacklistSize=").append(_blackList.size());
    903         buf.append(" whitelistSize=").append(_accessList.size());
     902        buf.append(" blacklistSize=").append(_blackList != null ? _blackList.size() : 0);
     903        buf.append(" whitelistSize=").append(_accessList != null ? _accessList.size() : 0);
    904904        buf.append(" maxConns=").append(_maxConnsPerMinute).append('/')
    905905                                .append(_maxConnsPerHour).append('/')
Note: See TracChangeset for help on using the changeset viewer.