Skip to content

Commit 2628cc0

Browse files
committed
iluwatar#984 update Builder readme
1 parent 0272d71 commit 2628cc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ And then we have the builder
110110
And then it can be used as:
111111

112112
```java
113-
Hero mage = new Hero.Builder(Profession.MAGE, "Riobard").withHairColor(HairColor.BLACK).withWeapon(Weapon.DAGGER).build();
113+
var mage = new Hero.Builder(Profession.MAGE, "Riobard").withHairColor(HairColor.BLACK).withWeapon(Weapon.DAGGER).build();
114114
```
115115

116116
## Applicability

0 commit comments

Comments
 (0)