Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines with new year.
[simgrid.git] / examples / java / dht / chord / NotifyTask.java
index fcc580a..dee7290 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 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;
+  }
 }