Skip to content

Commit 04688b6

Browse files
authored
Update README.md
1 parent 69d87e4 commit 04688b6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ public class Trooper implements Cloneable {
3535
Then, you can build your army by cloning like:
3636

3737
```java
38-
Trooper template = new Trooper("Jango Fett", Specie.HUMAN, Gender.MALE, 1.83f, Color.BLACK, Color.BROWN);
39-
Trooper clone = template.clone();
38+
Trooper template = new Trooper("Jango Fett", Specie.HUMAN, Gender.MALE, 1.83f, Color.BLACK, Color.BROWN);
39+
Trooper clone = template.clone();
4040
```
4141

4242
And you also can modify as you want:
4343

4444
```java
45-
clone.setName("Bobba Fett");
45+
clone.setName("Bobba Fett");
4646
```

0 commit comments

Comments
 (0)