one more param fix; javadoc fix

This commit is contained in:
zzz
2013-04-29 11:50:23 +00:00
parent 188ff3392d
commit 3a4ac1fc4e
2 changed files with 4 additions and 3 deletions

View File

@ -49,13 +49,14 @@ import net.i2p.util.Log;
* Supports files and resource only.
* Supports MIME types with local overrides and additions.
* Supports Last-Modified.
* Supports single request ranges.
*
* Does not support directories or "welcome files".
* Does not support gzip.
* Does not support request ranges.
* Does not support multiple request ranges.
* Does not cache.
*
* HEAD and POST return 405.
* POST returns 405.
* Directories return 403.
* Jar resources are sent with a long cache directive.
*

View File

@ -517,7 +517,7 @@ public class I2PSnarkServlet extends BasicServlet {
Snark snark = (Snark)snarks.get(i);
boolean showPeers = showDebug || "1".equals(peerParam) || Base64.encode(snark.getInfoHash()).equals(peerParam);
boolean hide = i < start || i >= start + pageSize;
displaySnark(out, snark, uri, i, stats, showPeers, isDegraded, noThinsp, showDebug, hide, stParam);
displaySnark(out, snark, uri, i, stats, showPeers, isDegraded, noThinsp, showDebug, hide, stParamStr);
}
if (total == 0) {