Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove unecessary imports to please sonar
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 4 Jan 2019 23:18:36 +0000 (00:18 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 4 Jan 2019 23:18:36 +0000 (00:18 +0100)
examples/java/dht/chord/ChordTask.java
examples/java/dht/kademlia/FindNodeAnswerTask.java
examples/java/dht/kademlia/KademliaTask.java
examples/java/process/kill/Killer.java
src/bindings/java/org/simgrid/msg/Host.java

index 33107ce..6f9a1d9 100644 (file)
@@ -5,7 +5,6 @@
 
 package dht.chord;
 
-import dht.chord.Common;
 import org.simgrid.msg.Task;
 
 public class ChordTask extends Task {
index 5e0da28..f3f5c7c 100644 (file)
@@ -1,11 +1,9 @@
-/* Copyright (c) 2012-2018. The SimGrid Team.
- * All rights reserved.                                                     */
+/* Copyright (c) 2012-2018. 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 dht.kademlia;
-import dht.kademlia.Answer;
 
 public class FindNodeAnswerTask extends KademliaTask {
   protected int destinationId;
index 4eae715..8b4ee1e 100644 (file)
@@ -1,11 +1,9 @@
-/* Copyright (c) 2012-2018. The SimGrid Team.
- * All rights reserved.                                                     */
+/* Copyright (c) 2012-2018. 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 dht.kademlia;
-import dht.kademlia.Common;
 
 import org.simgrid.msg.Task;
 
index cb4bbe1..8dd4b9c 100644 (file)
@@ -1,5 +1,4 @@
-/* Copyright (c) 2006-2018. The SimGrid Team.
- * All rights reserved.                                                     */
+/* Copyright (c) 2006-2018. 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. */
@@ -10,8 +9,6 @@ import org.simgrid.msg.Process;
 import org.simgrid.msg.MsgException;
 import org.simgrid.msg.HostNotFoundException;
 
-import process.kill.Victim;
-
 public class Killer extends Process {
   public Killer(String hostname, String name) throws HostNotFoundException {
     super(hostname, name);
index 53ccd99..0b52540 100644 (file)
@@ -7,8 +7,6 @@
 
 package org.simgrid.msg;
 
-import org.simgrid.msg.Storage;
-
 /**
  * A host object represents a location (any possible place) where a process may run.
  * Thus it is represented as a physical resource with computing capabilities, some