Changeset a9be26d


Ignore:
Timestamp:
Mar 11, 2017 2:43:37 PM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
db0381d
Parents:
db5ab0b
Message:

unneeded casts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/jsp/viewstat.jsp

    rdb5ab0b ra9be26d  
    6262        str = request.getParameter("end");
    6363        if (str != null) try { end = Integer.parseInt(str); } catch (NumberFormatException nfe) {}
    64         boolean hideLegend = Boolean.parseBoolean((String) request.getParameter("hideLegend"));
    65         boolean hideGrid = Boolean.parseBoolean((String) request.getParameter("hideGrid"));
    66         boolean hideTitle = Boolean.parseBoolean((String) request.getParameter("hideTitle"));
    67         boolean showEvents = Boolean.parseBoolean((String) request.getParameter("showEvents"));
     64        boolean hideLegend = Boolean.parseBoolean(request.getParameter("hideLegend"));
     65        boolean hideGrid = Boolean.parseBoolean(request.getParameter("hideGrid"));
     66        boolean hideTitle = Boolean.parseBoolean(request.getParameter("hideTitle"));
     67        boolean showEvents = Boolean.parseBoolean(request.getParameter("showEvents"));
    6868        boolean showCredit = false;
    6969        if (request.getParameter("showCredit") != null)
    70           showCredit = Boolean.parseBoolean((String) request.getParameter("showCredit"));
     70          showCredit = Boolean.parseBoolean(request.getParameter("showCredit"));
    7171        if (fakeBw)
    7272            rendered = net.i2p.router.web.StatSummarizer.instance().renderRatePng(cout, width, height, hideLegend, hideGrid, hideTitle, showEvents, periodCount, end, showCredit);
Note: See TracChangeset for help on using the changeset viewer.