Changeset 7b29481


Ignore:
Timestamp:
Mar 1, 2011 1:37:40 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
35a0be6d
Parents:
bb8736f
Message:

updates after review

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/I2PSnarkUtil.java

    rbb8736f r7b29481  
    135135   
    136136    /**
    137      *  @param KBps
     137     *  @param limit KBps
    138138     */
    139139    public void setMaxUpBW(int limit) {
  • apps/i2psnark/java/src/org/klomp/snark/MagnetState.java

    rbb8736f r7b29481  
    5858
    5959    /**
    60      *  @param call this for a new magnet when you have the size
     60     *  Call this for a new magnet when you have the size
    6161     *  @throws IllegalArgumentException
    6262     */
     
    7878
    7979    /**
    80      *  @param Call this for a new magnet when the download is complete.
     80     *  Call this for a new magnet when the download is complete.
    8181     *  @throws IllegalArgumentException
    8282     */
  • apps/i2psnark/java/src/org/klomp/snark/SnarkManager.java

    rbb8736f r7b29481  
    645645     * @param ih 20 byte info hash
    646646     * @param trackerURL may be null
    647      * @param udpateStatus should we add this magnet to the config file,
     647     * @param updateStatus should we add this magnet to the config file,
    648648     *                     to save it across restarts, in case we don't get
    649649     *                     the metadata before shutdown?
  • apps/i2psnark/java/src/org/klomp/snark/dht/DHT.java

    rbb8736f r7b29481  
    5555     *
    5656     *  @param ih the Info Hash (torrent)
    57      *  @param peer the peer's Hash
     57     *  @param peerHash the peer's Hash
    5858     */
    5959    public void announce(byte[] ih, byte[] peerHash);
  • apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java

    rbb8736f r7b29481  
    354354                                            ua.startsWith("ELinks") || ua.startsWith("Dillo"));
    355355
    356         boolean noThinsp = isDegraded || ua.startsWith("Opera");
     356        boolean noThinsp = isDegraded || (ua != null && ua.startsWith("Opera"));
    357357        if (_manager.util().connected()) {
    358358            if (isDegraded)
     
    18841884        if (mime.equals("text/html"))
    18851885            icon = "html";
    1886         else if (mime.equals("text/plain") || plc.endsWith(".nfo"))
     1886        else if (mime.equals("text/plain") || plc.endsWith(".nfo") ||
     1887                 mime.equals("application/rtf"))
    18871888            icon = "page";
    18881889        else if (mime.equals("application/java-archive") || plc.endsWith(".war") ||
  • core/java/src/net/i2p/stat/StatManager.java

    rbb8736f r7b29481  
    5555        "prng.bufferFillTime,prng.bufferWaitTime,router.memoryUsed," +
    5656        "transport.receiveMessageSize,transport.sendMessageSize,transport.sendProcessingTime," +
    57         "tunnel.acceptLoad,tunnel.buildRequestTime,tunnel.rejectOverloaded,tunnel.rejectTimeout" +
     57        "tunnel.acceptLoad,tunnel.buildRequestTime,tunnel.rejectOverloaded,tunnel.rejectTimeout," +
    5858        "tunnel.buildClientExpire,tunnel.buildClientReject,tunnel.buildClientSuccess," +
    5959        "tunnel.buildExploratoryExpire,tunnel.buildExploratoryReject,tunnel.buildExploratorySuccess," +
Note: See TracChangeset for help on using the changeset viewer.