Skip to content

Commit

Permalink
[pinpoint-apm#762] add logic to check null
Browse files Browse the repository at this point in the history
  • Loading branch information
minwoo-jung committed Oct 12, 2015
1 parent 1bd6eff commit a48b8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/main/java/com/navercorp/pinpoint/web/vo/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void setEmail(String email) {
}

public void removeHyphenForPhoneNumber() {
if(phoneNumber.contains("-")) {
if (phoneNumber != null && phoneNumber.contains("-")) {
phoneNumber = phoneNumber.replace("-", "");
}
}
Expand Down

0 comments on commit a48b8e2

Please # to comment.