Skip to content

Commit

Permalink
Revert "OK (#246)"
Browse files Browse the repository at this point in the history
This reverts c699c6c.
  • Loading branch information
ByteLegendBot committed Nov 25, 2023
1 parent c699c6c commit 2cbb7c5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main/java/com/bytelegend/Home.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
}

0 comments on commit 2cbb7c5

Please sign in to comment.