From 2cbb7c52bac0831b92a07e6a4b6873707224e70e Mon Sep 17 00:00:00 2001 From: ByteLegendBot Date: Sat, 25 Nov 2023 04:36:28 +0000 Subject: [PATCH] Revert "OK (#246)" This reverts c699c6cb9d1043837d2fb8c6cd9ecff6da748c68. --- src/main/java/com/bytelegend/Home.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/com/bytelegend/Home.java b/src/main/java/com/bytelegend/Home.java index 2620137..88fb76e 100644 --- a/src/main/java/com/bytelegend/Home.java +++ b/src/main/java/com/bytelegend/Home.java @@ -11,9 +11,5 @@ public static void main(String[] args) { // Updates the `name` instance field (aka. member variable) of that object to `name` argument of // the method. // Returns that object. - public static Cat newCat(String name) { - Cat cat = new Cat(); - cat.name = name; - return cat; - } + public static Cat newCat(String name) {} }