Skip to content

Commit

Permalink
Add default value for strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony (Juntao) Hu committed Dec 6, 2021
1 parent 65e4701 commit 42729f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/com/amigo/user/Profile.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
public class Profile {
private String name;
private int yearOfStudy;
private String programOfStudy;
private String programOfStudy = "";
private HashSet<Course> courses;
private String contactInfo;
private String contactInfo = "";
private String recInterest;
private String musInterest;
private String sportInterest;
Expand Down

0 comments on commit 42729f7

Please sign in to comment.