From: Martin Quinson Date: Fri, 4 Jan 2019 23:18:36 +0000 (+0100) Subject: remove unecessary imports to please sonar X-Git-Tag: v3_22~689 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e68fd495117dc356fc39a080335eb5f0328dc038?ds=sidebyside remove unecessary imports to please sonar --- diff --git a/examples/java/dht/chord/ChordTask.java b/examples/java/dht/chord/ChordTask.java index 33107ce627..6f9a1d9027 100644 --- a/examples/java/dht/chord/ChordTask.java +++ b/examples/java/dht/chord/ChordTask.java @@ -5,7 +5,6 @@ package dht.chord; -import dht.chord.Common; import org.simgrid.msg.Task; public class ChordTask extends Task { diff --git a/examples/java/dht/kademlia/FindNodeAnswerTask.java b/examples/java/dht/kademlia/FindNodeAnswerTask.java index 5e0da282fe..f3f5c7cb47 100644 --- a/examples/java/dht/kademlia/FindNodeAnswerTask.java +++ b/examples/java/dht/kademlia/FindNodeAnswerTask.java @@ -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; diff --git a/examples/java/dht/kademlia/KademliaTask.java b/examples/java/dht/kademlia/KademliaTask.java index 4eae715b5e..8b4ee1e50a 100644 --- a/examples/java/dht/kademlia/KademliaTask.java +++ b/examples/java/dht/kademlia/KademliaTask.java @@ -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; diff --git a/examples/java/process/kill/Killer.java b/examples/java/process/kill/Killer.java index cb4bbe1f8b..8dd4b9ce6f 100644 --- a/examples/java/process/kill/Killer.java +++ b/examples/java/process/kill/Killer.java @@ -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); diff --git a/src/bindings/java/org/simgrid/msg/Host.java b/src/bindings/java/org/simgrid/msg/Host.java index 53ccd9968f..0b52540427 100644 --- a/src/bindings/java/org/simgrid/msg/Host.java +++ b/src/bindings/java/org/simgrid/msg/Host.java @@ -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