From: Martin Quinson Date: Tue, 1 Aug 2017 23:53:15 +0000 (+0200) Subject: Add two missing @Override annotations X-Git-Tag: v3_17~290 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/af928cb1822e296fc0974e88328b9a1b94a28e12 Add two missing @Override annotations --- diff --git a/examples/java/cloud/migration/XVM.java b/examples/java/cloud/migration/XVM.java index 10b31647da..9fcaa907f4 100644 --- a/examples/java/cloud/migration/XVM.java +++ b/examples/java/cloud/migration/XVM.java @@ -1,5 +1,4 @@ -/* Copyright (c) 2014. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2014-2017. 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. */ @@ -38,7 +37,8 @@ public class XVM extends VM { currentLoad = load ; } - public void start(){ + @Override + public void start() { super.start(); daemon.start(); this.setLoad(0); @@ -53,6 +53,7 @@ public class XVM extends VM { return this.currentLoad; } + @Override public void migrate(Host host) throws HostFailureException { Msg.info("Start migration of VM " + this.getName() + " to " + host.getName()); Msg.info(" currentLoad:" + this.currentLoad + "/ramSize:" + this.ramsize + "/dpIntensity:" + this.dpIntensity