fix: change 'swinged' to 'swung' in sword.java and hammer.java of bridge pattern (#1779)
* minor (non-coding) change * Update Sword.java
This commit is contained in:
parent
dafe02f1be
commit
6cf025447a
@ -43,7 +43,7 @@ public class Hammer implements Weapon {
|
||||
|
||||
@Override
|
||||
public void swing() {
|
||||
LOGGER.info("The hammer is swinged.");
|
||||
LOGGER.info("The hammer is swung.");
|
||||
enchantment.apply();
|
||||
}
|
||||
|
||||
|
@ -43,7 +43,7 @@ public class Sword implements Weapon {
|
||||
|
||||
@Override
|
||||
public void swing() {
|
||||
LOGGER.info("The sword is swinged.");
|
||||
LOGGER.info("The sword is swung.");
|
||||
enchantment.apply();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user