Changeset eea0990 for router


Ignore:
Timestamp:
Jun 3, 2019 11:39:56 AM (10 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
fe6c7cd
Parents:
aa0bafb
Message:

Use hasWrapper() util method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/transport/udp/UDPTransport.java

    raa0bafb reea0990  
    5252import net.i2p.util.SimpleTimer;
    5353import net.i2p.util.SimpleTimer2;
     54import net.i2p.util.SystemVersion;
    5455import net.i2p.util.VersionComparator;
    5556
     
    10711072                // For now, only do this at startup
    10721073                if (oldIP != null &&
    1073                     System.getProperty("wrapper.version") != null &&
     1074                    SystemVersion.hasWrapper() &&
    10741075                    _context.getBooleanProperty(PROP_LAPTOP_MODE) &&
    10751076                    now - lastChanged > 10*60*1000 &&
Note: See TracChangeset for help on using the changeset viewer.