Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines with new year.
[simgrid.git] / examples / java / dht / chord / FindSuccessorAnswerTask.java
index 9d2440a..a264576 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2006-2014. The SimGrid Team.
+/* Copyright (c) 2006-2019. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -8,12 +8,13 @@ package dht.chord;
 
 public class FindSuccessorAnswerTask extends ChordTask {
   private int answerId;
-  public int getAnswerId(){
-    return this.answerId;
-  }
 
   public FindSuccessorAnswerTask(String issuerHostname, String answerTo, int answerId) {
     super(issuerHostname,answerTo);
     this.answerId = answerId;
   }
+
+  public int getAnswerId(){
+    return this.answerId;
+  }
 }