Changeset 5b55585


Ignore:
Timestamp:
Mar 15, 2015 12:52:26 PM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
a9f6839
Parents:
76cf80a
Message:

Clear displayed tracker issues when restarting torrent
lint

Location:
apps/i2psnark/java/src/org/klomp/snark
Files:
2 edited

Legend:

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

    r76cf80a r5b55585  
    165165
    166166    /** host names for config form */
    167     public static final Set<String> KNOWN_OPENTRACKERS = new HashSet(Arrays.asList(new String[] {
     167    public static final Set<String> KNOWN_OPENTRACKERS = new HashSet<String>(Arrays.asList(new String[] {
    168168        "tracker.welterde.i2p", "cfmqlafjfmgkzbt4r3jsfyhgsr5abgxryl6fnz3d3y5a365di5aa.b32.i2p",
    169169        "opentracker.dg2.i2p", "w7tpbzncbcocrqtwwm3nezhnnsw4ozadvi2hmvzdhrqzfxfum7wa.b32.i2p",
     
    176176
    177177    static {
    178         Set<String> ann = new HashSet();
     178        Set<String> ann = new HashSet<String>(8);
    179179        for (int i = 1; i < DEFAULT_TRACKERS.length; i += 2) {
    180180            if (DEFAULT_TRACKERS[i-1].equals("TheBland") && !SigType.ECDSA_SHA256_P256.isAvailable())
  • apps/i2psnark/java/src/org/klomp/snark/TrackerClient.java

    r76cf80a r5b55585  
    161161      runStarted = false;
    162162      _fastUnannounce = false;
     163      snark.setTrackerProblems(null);
    163164      _thread = new I2PAppThread(this, _threadName + " #" + (++_runCount), true);
    164165      _thread.start();
Note: See TracChangeset for help on using the changeset viewer.