A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a message to the user to specify our requirement for Boost version
[simgrid.git]
/
examples
/
java
/
kademlia
/
FindNodeTask.java
diff --git
a/examples/java/kademlia/FindNodeTask.java
b/examples/java/kademlia/FindNodeTask.java
index
9ee53a9
..
f2020aa
100644
(file)
--- 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
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-7,27
+7,19
@@
package kademlia;
/**
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 {
*/
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;
+ }
}
}