Skip to content

Commit

Permalink
[#445] Update code reuse (#446)
Browse files Browse the repository at this point in the history
Update code reuse
  • Loading branch information
Justin-Yeo authored Nov 12, 2024
2 parents 1d3942d + 4810ffe commit faab9b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/java/seedu/address/testutil/PersonBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/
public class PersonBuilder<T extends PersonBuilder<T>> {

// Solution inspired by https://stackoverflow.com/questions/17164375/subclassing-a-java-builder-class
public static final String DEFAULT_NAME = "Amy Bee";
public static final String DEFAULT_PHONE = "85355255";
public static final String DEFAULT_EMAIL = "[email protected]";
Expand Down

0 comments on commit faab9b6

Please sign in to comment.