i2psnark:

- Update session options when max bandwidth changes
  - BufferedStream cleanup and comments
  - torrent name display tweak
  - findbugs
This commit is contained in:
zzz
2011-01-10 17:14:34 +00:00
parent 158063658c
commit 6670209cb3
11 changed files with 48 additions and 43 deletions

View File

@@ -108,7 +108,7 @@ public class Snark
} catch (Throwable t) {
System.out.println("OOM in the OOM");
}
System.exit(0);
//System.exit(0);
}
}
@@ -980,7 +980,6 @@ public class Snark
(" <file> \tEither a local .torrent metainfo file to download");
System.out.println
(" \tor (with --share) a file to share.");
System.exit(-1);
}
/**
@@ -1117,11 +1116,12 @@ public class Snark
coordinator.setWantedPieces();
}
/** SnarkSnutdown callback unused */
public void shutdown()
{
// Should not be necessary since all non-deamon threads should
// have died. But in reality this does not always happen.
System.exit(0);
//System.exit(0);
}
public interface CompleteListener {