Changeset 05aef9b for router


Ignore:
Timestamp:
Mar 18, 2017 2:38:59 PM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
95b6bd3
Parents:
fda6730
Message:

Move "isSlow" detection to SystemVersion?

Location:
router/java/src/net/i2p/router
Files:
2 edited

Legend:

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

    rfda6730 r05aef9b  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 6;
     21    public final static long BUILD = 7;
    2222
    2323    /** for example "-test" */
  • router/java/src/net/i2p/router/TunnelPoolSettings.java

    rfda6730 r05aef9b  
    6666    //public static final int     DEFAULT_LENGTH = SystemVersion.isAndroid() ? 2 : 3;
    6767
    68     private static final boolean isSlow = SystemVersion.isGNU() ||
    69                                           SystemVersion.isARM() ||
    70                                           SystemVersion.isApache() ||
    71                                           !NativeBigInteger.isNative();
     68    private static final boolean isSlow = SystemVersion.isSlow();
    7269
    7370    /** client only */
Note: See TracChangeset for help on using the changeset viewer.