Changeset 582bab7


Ignore:
Timestamp:
Jan 26, 2018 6:04:58 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
64fe2f1
Parents:
5f903cc
Message:

minor cleanups

Location:
apps
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigKeyringHandler.java

    r5f903cc r582bab7  
    11package net.i2p.router.web.helpers;
    22
    3 import net.i2p.data.Base32;
    43import net.i2p.data.DataFormatException;
    54import net.i2p.data.Hash;
     
    4140                } else {
    4241                    _context.keyRing().put(h, sk);
    43                     addFormNotice(_t("Key for {0} added to keyring",
    44                                      Base32.encode(h.getData()) + ".b32.i2p"));
     42                    addFormNotice(_t("Key for {0} added to keyring", h.toBase32()));
    4543                }
    4644            } else {  // Delete
     
    5048                        addFormError("Cannot remove key for local destination. Disable encryption in the Hidden Services Manager.");
    5149                    } else if (_context.keyRing().remove(h) != null) {
    52                         addFormNotice(_t("Key for {0} removed from keyring",
    53                                          Base32.encode(h.getData()) + ".b32.i2p"));
     50                        addFormNotice(_t("Key for {0} removed from keyring", h.toBase32()));
    5451                    } else {
    55                         addFormNotice(_t("Key for {0} not found in keyring",
    56                                          Base32.encode(h.getData()) + ".b32.i2p"));
     52                        addFormNotice(_t("Key for {0} not found in keyring", h.toBase32()));
    5753                    }
    5854                } else {
  • apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigKeyringHelper.java

    r5f903cc r582bab7  
    55import java.util.Map;
    66
    7 import net.i2p.data.Base32;
    87import net.i2p.data.Destination;
    98import net.i2p.data.Hash;
     
    5251                continue;
    5352            buf.append("\n<tr><td>");
    54             buf.append(Base32.encode(h.getData())).append(".b32.i2p");
     53            buf.append(h.toBase32());
    5554            buf.append("</td><td>");
    5655            Destination dest = _context.netDb().lookupDestinationLocally(h);
  • apps/routerconsole/java/src/net/i2p/router/web/helpers/package.html

    r5f903cc r582bab7  
    1515This package was created in release 0.9.33 by moving
    1616these classes from net.i2p.router.web to here,
    17 and moving them from routerconsole.war to routerconsole.jar.
     17and moving them from routerconsole.jar to routerconsole.war.
    1818</p><p>
    1919No classes contained here are part of a public API.
  • apps/routerconsole/java/src/net/i2p/router/web/package.html

    r5f903cc r582bab7  
    1717This package was split in release 0.9.33, with most of the helpers and handlers
    1818moved to net.i2p.router.web.console,
    19 and moving them from routerconsole.war to routerconsole.jar.
     19and moving them from routerconsole.jar to routerconsole.war.
    2020</p><p>
    2121No classes contained here are part of a public API.
  • apps/susimail/src/src/i2p/susi/webmail/MailPart.java

    r5f903cc r582bab7  
    5656        public final String uidl;
    5757       
    58 /// todo add UIDL to constructors, use in WebMail.showpart()
    5958
    6059        public MailPart(String uidl,  ReadBuffer readBuffer) throws DecodingException
Note: See TracChangeset for help on using the changeset viewer.