From 2376b66ee5b55b3c1844dddfda65f98356cec176 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Tue, 13 Jun 2017 18:03:57 +0200 Subject: [PATCH] please sonar, damnit --- src/bindings/java/org/simgrid/msg/Host.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bindings/java/org/simgrid/msg/Host.java b/src/bindings/java/org/simgrid/msg/Host.java index 2e39fe2d43..4676242247 100644 --- a/src/bindings/java/org/simgrid/msg/Host.java +++ b/src/bindings/java/org/simgrid/msg/Host.java @@ -136,13 +136,12 @@ public class Host { /** After this call, sg_host_get_consumed_energy() will not interrupt your process * (until after the next clock update). */ - static public native void updateAllEnergyConsumptions(); + public static native void updateAllEnergyConsumptions(); /** Returns the amount of Joules consumed by that host so far * * Please note that since the consumption is lazily updated, it may require a simcall to update it. * The result is that the actor requesting this value will be interrupted, * the value will be updated in kernel mode before returning the control to the requesting actor. - */ public native double getConsumedEnergy(); -- 2.20.1