X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5b3677b425b9cc6949c1573d59ac772540cbf4b2..4a6b0a991a67e6f2f67c03fed43529e078da7115:/examples/java/kademlia/KademliaTask.java diff --git a/examples/java/kademlia/KademliaTask.java b/examples/java/kademlia/KademliaTask.java index 9ca0c5f96d..0a549b41fe 100644 --- a/examples/java/kademlia/KademliaTask.java +++ b/examples/java/kademlia/KademliaTask.java @@ -1,32 +1,23 @@ -/* Copyright (c) 2012-2014. The SimGrid Team. +/* Copyright (c) 2012-2014, 2016. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ package kademlia; - import kademlia.Common; import org.simgrid.msg.Task; -/** - * @brief Base class for all the tasks related to Kademlia. - */ public class KademliaTask extends Task { - /** - * Sender id - */ - protected int senderId; - - /** - * Constructor - */ - public KademliaTask(int senderId) { - super("kademliatask",Common.COMP_SIZE,Common.COMM_SIZE); - this.senderId = senderId; - } - public int getSenderId() { - return senderId; - } + protected int senderId; + + public KademliaTask(int senderId) { + super("kademliatask",Common.COMP_SIZE,Common.COMM_SIZE); + this.senderId = senderId; + } + + public int getSenderId() { + return senderId; + } }