forked from I2P_Developers/i2p.i2p
comment out main()
This commit is contained in:
@ -1188,6 +1188,7 @@ public class BlockfileNamingService extends DummyNamingService {
|
||||
* BlockfileNamingService [force]
|
||||
* force = force writable
|
||||
*/
|
||||
/****
|
||||
public static void main(String[] args) {
|
||||
Properties ctxProps = new Properties();
|
||||
if (args.length > 0 && args[0].equals("force"))
|
||||
@ -1284,4 +1285,5 @@ public class BlockfileNamingService extends DummyNamingService {
|
||||
System.out.println("HTNS took " + DataHelper.formatDuration(System.currentTimeMillis() - start));
|
||||
System.out.println("found " + found + " notfound " + notfound);
|
||||
}
|
||||
****/
|
||||
}
|
||||
|
@ -463,6 +463,7 @@ public class SingleFileNamingService extends NamingService {
|
||||
_fileLock.writeLock().unlock();
|
||||
}
|
||||
|
||||
/****
|
||||
public static void main(String[] args) {
|
||||
NamingService ns = new SingleFileNamingService(I2PAppContext.getGlobalContext(), "hosts.txt");
|
||||
Destination d = new Destination();
|
||||
@ -482,4 +483,5 @@ public class SingleFileNamingService extends NamingService {
|
||||
b = !ns.putIfAbsent("bbbbb", d);
|
||||
System.out.println("Test 6 pass? " + b);
|
||||
}
|
||||
****/
|
||||
}
|
||||
|
Reference in New Issue
Block a user