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:
Xenilo137 2021-06-04 14:50:40 -04:00 committed by GitHub
parent dafe02f1be
commit 6cf025447a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}

View File

@ -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();
}