-/* Copyright (c) 2006-2014, 2016. The SimGrid Team.
+/* Copyright (c) 2006-2019. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
public void main(String[] args) throws MsgException {
Msg.info("Hello! I go to sleep.");
try {
- waitFor(Integer.valueOf(args[0]).intValue());
+ waitFor(Integer.parseInt(args[0]));
Msg.info("Done sleeping");
} catch (MsgException e) {
Msg.debug("Wait cancelled.");