X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7e71fb2465e221c39ce004c598388d89cc7f968e..f05e8a7b58cbae2db891cc40866a25efba639ec8:/examples/java/basic/Forwarder.java diff --git a/examples/java/basic/Forwarder.java b/examples/java/basic/Forwarder.java index dd69021aff..46d1186d57 100644 --- a/examples/java/basic/Forwarder.java +++ b/examples/java/basic/Forwarder.java @@ -1,8 +1,5 @@ /* - * $Id$ - * - * Copyright 2006,2007,2010 The SimGrid Team - * All rights reserved. + * Copyright 2006,2007,2010. 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. @@ -12,7 +9,7 @@ import simgrid.msg.*; public class Forwarder extends simgrid.msg.Process { - public void main(String[] args) throws JniException, NativeException { + public void main(String[] args) throws NativeException { if (args.length < 3) { Msg.info("Forwarder needs 3 arguments (input mailbox, first output mailbox, last one)"); Msg.info("Got "+args.length+" instead");