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
Merge branches 'master' and 'master' of github.com:simgrid/simgrid
[simgrid.git]
/
examples
/
java
/
dht
/
kademlia
/
Answer.java
diff --git
a/examples/java/dht/kademlia/Answer.java
b/examples/java/dht/kademlia/Answer.java
index
a18bc2a
..
c339c3b
100644
(file)
--- a/
examples/java/dht/kademlia/Answer.java
+++ b/
examples/java/dht/kademlia/Answer.java
@@
-19,15
+19,15
@@
public class Answer {
nodes = new ArrayList<>();
}
nodes = new ArrayList<>();
}
- int getDestinationId() {
+
protected
int getDestinationId() {
return destinationId;
}
return destinationId;
}
- ArrayList<Contact> getNodes() {
+
protected
ArrayList<Contact> getNodes() {
return nodes;
}
return nodes;
}
- int size() {
+
protected
int size() {
return nodes.size();
}
return nodes.size();
}