diff --git a/src/main/java/buttondevteam/lib/Gary.java b/src/main/java/buttondevteam/lib/Gary.java index beed5ca..1e109cd 100644 --- a/src/main/java/buttondevteam/lib/Gary.java +++ b/src/main/java/buttondevteam/lib/Gary.java @@ -6,6 +6,7 @@ public class Gary extends DebugPotato { public Gary() { super.setMessage("I'M A POTATO"); + super.setType("Gary"); } /** @@ -31,4 +32,12 @@ public class Gary extends DebugPotato { public DebugPotato setMessage(String[] message) { return this; } + + /** + * Gary has it's name already, therefore this method has no effect. + */ + @Override + public DebugPotato setType(String type) { + return this; + } }