mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 14:14:57 +00:00
fix: Minor misspelling (#3161)
This commit is contained in:
1 parent
f0f4c7d4c0
commit
49172dd5be
5 files changed
+7
-7
No files matched your search
@@ -127,7 +127,7 @@ public class LambdaStrategy {
|
||||
|
||||
public enum Strategy implements DragonSlayingStrategy {
|
||||
MeleeStrategy(() -> LOGGER.info(
|
||||
"With your Excalibur you severe the dragon's head!")),
|
||||
"With your Excalibur you sever the dragon's head!")),
|
||||
ProjectileStrategy(() -> LOGGER.info(
|
||||
"You shoot the dragon with the magical crossbow and it falls dead on the ground!")),
|
||||
SpellStrategy(() -> LOGGER.info(
|
||||
|
||||
@@ -123,7 +123,7 @@ public class LambdaStrategy {
|
||||
|
||||
public enum Strategy implements DragonSlayingStrategy {
|
||||
MeleeStrategy(() -> LOGGER.info(
|
||||
"With your Excalibur you severe the dragon's head!")),
|
||||
"With your Excalibur you sever the dragon's head!")),
|
||||
ProjectileStrategy(() -> LOGGER.info(
|
||||
"You shoot the dragon with the magical crossbow and it falls dead on the ground!")),
|
||||
SpellStrategy(() -> LOGGER.info(
|
||||
|
||||
Reference in new issue
Block a user