A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Acknoledge the fact that JniException is a runtime exception now: kill all its occure...
[simgrid.git]
/
examples
/
java
/
ping_pong
/
PingPongTask.java
diff --git
a/examples/java/ping_pong/PingPongTask.java
b/examples/java/ping_pong/PingPongTask.java
index
62c178a
..
79fa7d2
100644
(file)
--- 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.
*
* 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;
private double timeVal;
- public PingPongTask() throws
JniException,
NativeException {
+ public PingPongTask() throws NativeException {
this.timeVal = 0;
}
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);
}
super(name,computeDuration,messageSize);
}