Changeset 57ddc8e for core


Ignore:
Timestamp:
Aug 25, 2018 2:29:32 PM (21 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
4a03b6fc
Parents:
c3881a8
Message:

conversion cleanup

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

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/client/impl/I2CPMessageProducer.java

    rc3881a8 r57ddc8e  
    388388            newprops.putAll(props);
    389389            props = newprops;
    390             props.setProperty("inbound.quantity", "" + tunnels);
    391             props.setProperty("outbound.quantity", "" + tunnels);
     390            String stunnels = Integer.toString(tunnels);
     391            props.setProperty("inbound.quantity", stunnels);
     392            props.setProperty("outbound.quantity", stunnels);
    392393            props.setProperty("inbound.backupQuantity", "0");
    393394            props.setProperty("outbound.backupQuantity", "0");
  • core/java/src/net/i2p/util/EepGet.java

    rc3881a8 r57ddc8e  
    558558            System.out.println("** Attempt " + currentAttempt + " of " + url + " failed");
    559559            System.out.println("** Transfered " + bytesTransferred
    560                                + " with " + (bytesRemaining < 0 ? "unknown" : ""+bytesRemaining) + " remaining");
     560                               + " with " + (bytesRemaining < 0 ? "unknown" : Long.toString(bytesRemaining)) + " remaining");
    561561            System.out.println("** " + cause.getMessage());
    562562            _previousWritten += _written;
     
    567567            System.out.println("== Transfer of " + url + " failed after " + currentAttempt + " attempts");
    568568            System.out.println("== Transfer size: " + bytesTransferred + " with "
    569                                + (bytesRemaining < 0 ? "unknown" : ""+bytesRemaining) + " remaining");
     569                               + (bytesRemaining < 0 ? "unknown" : Long.toString(bytesRemaining)) + " remaining");
    570570            long timeToSend = _context.clock().now() - _startedOn;
    571571            System.out.println("== Transfer time: " + DataHelper.formatDuration(timeToSend));
Note: See TracChangeset for help on using the changeset viewer.