Skip to content

Commit

Permalink
Revert "Update Home.java (#245)"
Browse files Browse the repository at this point in the history
This reverts 2d4fe1b.
  • Loading branch information
ByteLegendBot committed Nov 23, 2023
1 parent 2d4fe1b commit e81887e
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 e81887e

Please sign in to comment.