X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7e71fb2465e221c39ce004c598388d89cc7f968e..f05e8a7b58cbae2db891cc40866a25efba639ec8:/examples/java/ping_pong/PingPongTask.java diff --git a/examples/java/ping_pong/PingPongTask.java b/examples/java/ping_pong/PingPongTask.java index 62c178aad6..79fa7d2cd7 100644 --- a/examples/java/ping_pong/PingPongTask.java +++ b/examples/java/ping_pong/PingPongTask.java @@ -1,8 +1,5 @@ /* - * $Id$ - * - * Copyright 2006,2007 Martin Quinson, Malek Cherier - * 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. @@ -14,11 +11,11 @@ public class PingPongTask extends Task { private double timeVal; - public PingPongTask() throws JniException, NativeException { + public PingPongTask() throws NativeException { this.timeVal = 0; } - public PingPongTask(String name, double computeDuration, double messageSize) throws JniException, NativeException { + public PingPongTask(String name, double computeDuration, double messageSize) throws NativeException { super(name,computeDuration,messageSize); }