Skip to content

Commit

Permalink
iluwatar#984 update Bridge readme
Browse files Browse the repository at this point in the history
  • Loading branch information
iluwatar committed Nov 11, 2019
1 parent 329479d commit 0272d71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bridge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public class SoulEatingEnchantment implements Enchantment {
And both the hierarchies in action

```java
Sword enchantedSword = new Sword(new SoulEatingEnchantment());
var enchantedSword = new Sword(new SoulEatingEnchantment());
enchantedSword.wield();
enchantedSword.swing();
enchantedSword.unwield();
Expand All @@ -167,7 +167,7 @@ enchantedSword.unwield();
// The sword is unwielded.
// Bloodlust slowly disappears.

Hammer hammer = new Hammer(new FlyingEnchantment());
var hammer = new Hammer(new FlyingEnchantment());
hammer.wield();
hammer.swing();
hammer.unwield();
Expand Down

0 comments on commit 0272d71

Please sign in to comment.