X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6de03ecc4e630732984a0673512a5d15fd75e270..bdae0bd5341a0ed9faef3ef59a669abe91eedc45:/examples/java/kademlia/FindNodeTask.java diff --git a/examples/java/kademlia/FindNodeTask.java b/examples/java/kademlia/FindNodeTask.java index 9ee53a9972..f2020aa038 100644 --- a/examples/java/kademlia/FindNodeTask.java +++ b/examples/java/kademlia/FindNodeTask.java @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2014. The SimGrid Team. +/* Copyright (c) 2012-2014, 2016. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -7,27 +7,19 @@ package kademlia; /** - * @brief Find node tasks sent by a node to another - * "Find Node" task sent by a node to another. Ask him for - * its closest nodes from a destination. + * @brief Find node tasks sent by a node to another "Find Node" task sent by a node to another. Ask him for its closest + * nodes from a destination. */ public class FindNodeTask extends KademliaTask { - /** - * Id of the node we are trying to find: the destination - */ - private int destination; - /** - * Constructor - */ - public FindNodeTask(int senderId, int destination) { - super(senderId); - this.destination = destination; - } + /* Id of the node we are trying to find: the destination */ + private int destination; + public FindNodeTask(int senderId, int destination) { + super(senderId); + this.destination = destination; + } - - public int getDestination() { - return destination; - } - + public int getDestination() { + return destination; + } }