mirror of
https://github.com/ChronosX88/KademliaDHT.git
synced 2024-11-22 02:02:21 +00:00
Removed a few completed @todo comments
This commit is contained in:
parent
7c24ed7cff
commit
6253ad0ca6
@ -133,8 +133,6 @@ public class Kademlia
|
|||||||
*
|
*
|
||||||
* @throws java.io.FileNotFoundException
|
* @throws java.io.FileNotFoundException
|
||||||
* @throws java.lang.ClassNotFoundException
|
* @throws java.lang.ClassNotFoundException
|
||||||
*
|
|
||||||
* @todo Boot up this Kademlia instance from a saved file state
|
|
||||||
*/
|
*/
|
||||||
public static Kademlia loadFromFile(String ownerId) throws FileNotFoundException, IOException, ClassNotFoundException
|
public static Kademlia loadFromFile(String ownerId) throws FileNotFoundException, IOException, ClassNotFoundException
|
||||||
{
|
{
|
||||||
@ -151,8 +149,6 @@ public class Kademlia
|
|||||||
*
|
*
|
||||||
* @throws java.io.FileNotFoundException
|
* @throws java.io.FileNotFoundException
|
||||||
* @throws java.lang.ClassNotFoundException
|
* @throws java.lang.ClassNotFoundException
|
||||||
*
|
|
||||||
* @todo Boot up this Kademlia instance from a saved file state
|
|
||||||
*/
|
*/
|
||||||
public static Kademlia loadFromFile(String ownerId, KadConfiguration iconfig) throws FileNotFoundException, IOException, ClassNotFoundException
|
public static Kademlia loadFromFile(String ownerId, KadConfiguration iconfig) throws FileNotFoundException, IOException, ClassNotFoundException
|
||||||
{
|
{
|
||||||
|
@ -247,7 +247,6 @@ public class ContentLookupOperation implements Operation, Receiver
|
|||||||
StorageEntry content = msg.getContent();
|
StorageEntry content = msg.getContent();
|
||||||
System.out.println("Content Received: " + content);
|
System.out.println("Content Received: " + content);
|
||||||
|
|
||||||
/*@todo Check if the content matches the given criteria */
|
|
||||||
this.contentFound.add(content);
|
this.contentFound.add(content);
|
||||||
|
|
||||||
if (this.contentFound.size() == this.numNodesToQuery)
|
if (this.contentFound.size() == this.numNodesToQuery)
|
||||||
|
@ -16,8 +16,6 @@ public interface Operation
|
|||||||
* Starts an operation and returns when the operation is finished
|
* Starts an operation and returns when the operation is finished
|
||||||
*
|
*
|
||||||
* @throws kademlia.exceptions.RoutingException
|
* @throws kademlia.exceptions.RoutingException
|
||||||
*
|
|
||||||
* @todo Remove the Object return type, those operations that return things should have a method to return the data
|
|
||||||
*/
|
*/
|
||||||
public void execute() throws IOException, RoutingException;
|
public void execute() throws IOException, RoutingException;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user