Changeset f564d4d for apps/admin/java


Ignore:
Timestamp:
Jun 5, 2016 12:57:32 PM (5 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
78d0a54
Parents:
34c611d
Message:

Fixes for a bunch of old unused code to make it compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/admin/java/src/net/i2p/router/admin/AdminRunner.java

    r34c611d rf564d4d  
    1212
    1313import net.i2p.data.Hash;
    14 import net.i2p.data.DataHelper
     14import net.i2p.data.DataHelper;
    1515import net.i2p.router.Router;
    1616import net.i2p.router.RouterContext;
     17import net.i2p.router.web.StatsGenerator;
    1718import net.i2p.util.I2PThread;
    1819import net.i2p.util.Log;
     
    5051            try {
    5152                out.write(DataHelper.getASCII("HTTP/1.1 200 OK\nConnection: close\nCache-control: no-cache\nContent-type: text/html\n\n"));
    52                 _generator.generateStatsPage(new OutputStreamWriter(out));
     53                _generator.generateStatsPage(new OutputStreamWriter(out), true);
    5354                out.close();
    5455            } catch (IOException ioe) {
     
    6465            try {
    6566                out.write(DataHelper.getASCII("HTTP/1.1 200 OK\nConnection: close\nCache-control: no-cache\nContent-type: text/html\n\n"));
    66                 _context.router().renderStatusHTML(new OutputStreamWriter(out));
     67                // TODO Not technically the same as router().renderStatusHTML() was
     68                _context.routerAppManager().renderStatusHTML(new OutputStreamWriter(out));
    6769                out.close();
    6870            } catch (IOException ioe) {
Note: See TracChangeset for help on using the changeset viewer.