X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0ec9023d3fcc96b110d4b7a4c3b16cdbb6e827c0..b8df87e176f27b25534f27d7e240defa32ca35bc:/examples/java/dht/chord/NotifyTask.java diff --git a/examples/java/dht/chord/NotifyTask.java b/examples/java/dht/chord/NotifyTask.java index fcc580a8eb..dee7290fca 100644 --- a/examples/java/dht/chord/NotifyTask.java +++ b/examples/java/dht/chord/NotifyTask.java @@ -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; + } }