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
Let our examples compile with java 1.6, or almost
[simgrid.git]
/
examples
/
java
/
cloud
/
masterworker
/
Master.java
diff --git
a/examples/java/cloud/masterworker/Master.java
b/examples/java/cloud/masterworker/Master.java
index
c2b95d9
..
f2e23e2
100644
(file)
--- a/
examples/java/cloud/masterworker/Master.java
+++ b/
examples/java/cloud/masterworker/Master.java
@@
-25,7
+25,7
@@
public class Master extends Process {
public void main(String[] args) throws MsgException {
int workersCount = Main.NHOSTS;
public void main(String[] args) throws MsgException {
int workersCount = Main.NHOSTS;
- ArrayList<VM> vms = new ArrayList<>();
+ ArrayList<VM> vms = new ArrayList<
VM
>();
// Create one VM per host and bind a process inside each one.
for (int i = 0; i < workersCount; i++) {
// Create one VM per host and bind a process inside each one.
for (int i = 0; i < workersCount; i++) {