Skip to content

Commit 84283d2

Browse files
author
github-actions
committed
Google Java Format
1 parent 26b426d commit 84283d2

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

Exercise.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
public class Exercise {
44

55
public static void main(String[] args) {
6-
ArrayList<Dice> dices = new ArrayList<>();
6+
ArrayList<Dice> dices = new ArrayList<>();
77

8-
for (int i = 1; i <= 5; i++) {
9-
Dice dice = new Dice(i);
10-
dices.add(dice);
11-
}
8+
for (int i = 1; i <= 5; i++) {
9+
Dice dice = new Dice(i);
10+
dices.add(dice);
11+
}
1212

13-
System.out.println("ID - Wuerfelwert");
14-
for (int i = 0; i < dices.size(); i++) {
15-
Dice dice = dices.get(i);
16-
dice.rollTheDice();
17-
System.out.println(dice.getId() + " - " + dice.getValue());
18-
}
13+
System.out.println("ID - Wuerfelwert");
14+
for (int i = 0; i < dices.size(); i++) {
15+
Dice dice = dices.get(i);
16+
dice.rollTheDice();
17+
System.out.println(dice.getId() + " - " + dice.getValue());
18+
}
1919
}
2020
}

0 commit comments

Comments
 (0)