From af928cb1822e296fc0974e88328b9a1b94a28e12 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 2 Aug 2017 01:53:15 +0200 Subject: [PATCH] Add two missing @Override annotations --- examples/java/cloud/migration/XVM.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.20.1