From e549af25dd8b2e028fa62adfde00d22daff9fa82 Mon Sep 17 00:00:00 2001 From: Saiful Islam Date: Fri, 25 Mar 2016 22:50:17 +0600 Subject: [PATCH 1/2] Severe is not appropriate. "Sever" is most Appropriate --- strategy/src/main/java/com/iluwatar/strategy/MeleeStrategy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strategy/src/main/java/com/iluwatar/strategy/MeleeStrategy.java b/strategy/src/main/java/com/iluwatar/strategy/MeleeStrategy.java index d5b752c52..d17ff9041 100644 --- a/strategy/src/main/java/com/iluwatar/strategy/MeleeStrategy.java +++ b/strategy/src/main/java/com/iluwatar/strategy/MeleeStrategy.java @@ -31,6 +31,6 @@ public class MeleeStrategy implements DragonSlayingStrategy { @Override public void execute() { - System.out.println("With your Excalibur you severe the dragon's head!"); + System.out.println("With your Excalibur you sever the dragon's head!"); } } From b14aff17b61dc3134812abf0df44ad8f66f0c657 Mon Sep 17 00:00:00 2001 From: Narendra Pathai Date: Sat, 26 Mar 2016 15:54:10 +0530 Subject: [PATCH 2/2] Updated failing test cases --- .../java/com/iluwatar/strategy/DragonSlayingStrategyTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strategy/src/test/java/com/iluwatar/strategy/DragonSlayingStrategyTest.java b/strategy/src/test/java/com/iluwatar/strategy/DragonSlayingStrategyTest.java index 341db8caf..35f4c1a82 100644 --- a/strategy/src/test/java/com/iluwatar/strategy/DragonSlayingStrategyTest.java +++ b/strategy/src/test/java/com/iluwatar/strategy/DragonSlayingStrategyTest.java @@ -52,7 +52,7 @@ public class DragonSlayingStrategyTest { return Arrays.asList( new Object[]{ new MeleeStrategy(), - "With your Excalibur you severe the dragon's head!" + "With your Excalibur you sever the dragon's head!" }, new Object[]{ new ProjectileStrategy(),