X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/871107618b8c0e08361b84990c5c4a35ae4188e6..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; + } }