Changeset ca5484a for apps/addressbook


Ignore:
Timestamp:
Mar 24, 2011 3:00:47 AM (10 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
7751661f
Parents:
d6999a33
Message:
  • Add details page in susidns
  • Add source in Daemon
  • Honor list property in BFNS.lookup()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/addressbook/java/src/net/i2p/addressbook/Daemon.java

    rd6999a33 rca5484a  
    116116        // when scanning large subscription results (i.e. those that return the whole file, not just the new entries) -
    117117        // we load all the known hostnames into a Set one time.
     118        // This also has the advantage of not flushing the NamingService's LRU cache.
    118119        String nsClass = router.getClass().getSimpleName();
    119120        boolean isTextFile = nsClass.equals("HostsTxtNamingService") || nsClass.equals("SingleFileNamingService");
     
    153154                        if (AddressBook.isValidKey(key)) {
    154155                            Destination dest = new Destination(entry.getValue());
    155                             boolean success = router.put(key, dest);
     156                            Properties props = new Properties();
     157                            props.setProperty("s", sub.getLocation());
     158                            boolean success = router.put(key, dest, props);
    156159                            if (log != null) {
    157160                                if (success)
Note: See TracChangeset for help on using the changeset viewer.