Changeset 20c77e15


Ignore:
Timestamp:
Aug 22, 2011 7:09:09 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
010399d
Parents:
5fd7997
Message:

fixes after review

Files:
6 edited
1 moved

Legend:

Unmodified
Added
Removed
  • apps/addressbook/java/src/net/i2p/addressbook/Daemon.java

    r5fd7997 r20c77e15  
    202202                } catch (DataFormatException dfe) {
    203203                    if (log != null)
    204                         log.append("Invalid b64 for" + key + " From: " + sub.getLocation());
     204                        log.append("Invalid b64 for " + key + " From: " + sub.getLocation());
    205205                    invalid++;
    206206                }
  • apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java

    r5fd7997 r20c77e15  
    516516    public String getJobLag() {
    517517        if (_context == null)
    518             return "0 ms";
     518            return "0";
    519519       
    520520        RateStat rs = _context.statManager().getRate("jobQueue.jobLag");
    521521        if (rs == null)
    522             return "0 ms";
     522            return "0";
    523523        Rate lagRate = rs.getRate(60*1000);
    524524        return DataHelper.formatDuration2((long)lagRate.getAverageValue());
     
    532532    public String getMessageDelay() {
    533533        if (_context == null)
    534             return "0 ms";
     534            return "0";
    535535       
    536536        return DataHelper.formatDuration2(_context.throttle().getMessageDelay());
     
    544544    public String getTunnelLag() {
    545545        if (_context == null)
    546             return "0 ms";
     546            return "0";
    547547       
    548548        return DataHelper.formatDuration2(_context.throttle().getTunnelLag());
  • core/java/src/net/i2p/util/LogConsoleBuffer.java

    r5fd7997 r20c77e15  
    3737        // Add some extra room to minimize the chance of losing a message,
    3838        // since we are doing offer() below.
    39         _buffer = new LinkedBlockingQueue(limit + 4);
    40         _critBuffer = new LinkedBlockingQueue(limit + 4);
     39        _buffer = new LinkedBlockingQueue(lim + 4);
     40        _critBuffer = new LinkedBlockingQueue(lim + 4);
    4141    }
    4242
  • history.txt

    r5fd7997 r20c77e15  
     1* 2011-08-23 0.8.8 released
     2
     32011-08-23 zzz
     4  * Tweaks after review
     5
    162011-08-21 zzz
    27  * RateStat: Cleanups and javadoc fixes
  • installer/resources/fix_logfile_path.cmd

    r5fd7997 r20c77e15  
    2727::
    2828cd /d %~dp0
    29 find /V /I "wrapper.logfile=" wrapper.config > wrapper.new
     29findstr /V /R "^wrapper.logfile=" wrapper.config > wrapper.new
    3030echo wrapper.logfile=%%temp%%\wrapper.log >> wrapper.new
    3131move wrapper.new wrapper.config
  • installer/resources/postinstall.sh

    r5fd7997 r20c77e15  
    9696rm -f ./lib/*.dll
    9797rm -f ./*.bat
     98rm -f ./fix_logfile_path.cmd
    9899rm -f ./*.exe
    99100rm -rf ./installer
Note: See TracChangeset for help on using the changeset viewer.