Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move recently added getters after the constuctors
[simgrid.git] / examples / java / dht / chord / NotifyTask.java
index fcc580a..88a9bbf 100644 (file)
@@ -8,12 +8,13 @@ package dht.chord;
 
 public class NotifyTask extends ChordTask {
   private int requestId;
-  public int getRequestId(){
-    return this.requestId;
-  }
 
   public NotifyTask(String issuerHostname, String answerTo, int requestId) {
     super(issuerHostname, answerTo);
     this.requestId = requestId;
   }
+
+  public int getRequestId(){
+    return this.requestId;
+  }
 }