From 04ff8f3885d0acd95c4c90fc1198fb474f62add0 Mon Sep 17 00:00:00 2001 From: Robin Joshi Date: Wed, 7 Jan 2015 15:51:43 -0600 Subject: [PATCH 1/2] Update ProjectileStrategy.java --- strategy/src/main/java/com/iluwatar/ProjectileStrategy.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/strategy/src/main/java/com/iluwatar/ProjectileStrategy.java b/strategy/src/main/java/com/iluwatar/ProjectileStrategy.java index 00bd68d5cc24..37c4a14cc73b 100644 --- a/strategy/src/main/java/com/iluwatar/ProjectileStrategy.java +++ b/strategy/src/main/java/com/iluwatar/ProjectileStrategy.java @@ -4,8 +4,7 @@ public class ProjectileStrategy implements DragonSlayingStrategy { @Override public void execute() { - System.out - .println("You shoot the dragon with the magical crossbow and it falls dead on the ground!"); + System.out.println("You shoot the dragon with the magical crossbow and it falls dead on the ground!"); } } From 278fc8686c902c979c8ea300f03349f167c7075c Mon Sep 17 00:00:00 2001 From: Robin Joshi Date: Wed, 7 Jan 2015 15:53:30 -0600 Subject: [PATCH 2/2] Update SpellStrategy.java --- strategy/src/main/java/com/iluwatar/SpellStrategy.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/strategy/src/main/java/com/iluwatar/SpellStrategy.java b/strategy/src/main/java/com/iluwatar/SpellStrategy.java index 05d3c69ec107..3dab043296a1 100644 --- a/strategy/src/main/java/com/iluwatar/SpellStrategy.java +++ b/strategy/src/main/java/com/iluwatar/SpellStrategy.java @@ -4,8 +4,7 @@ public class SpellStrategy implements DragonSlayingStrategy { @Override public void execute() { - System.out - .println("You cast the spell of disintegration and the dragon vaporizes in a pile of dust!"); + System.out.println("You cast the spell of disintegration and the dragon vaporizes in a pile of dust!"); } }