Skip to content

Commit

Permalink
CORE: Added toString() to SponsoredUserData
Browse files Browse the repository at this point in the history
- We need to print something useful in logs.
  • Loading branch information
zlamalp committed Mar 29, 2021
1 parent f630d0f commit dc24279
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,20 @@ public String getGuestName() {
public void setGuestName(String guestName) {
this.guestName = guestName;
}

@Override
public String toString() {
return "SponsoredUserData{" +
"guestName='" + guestName + '\'' +
", firstName='" + firstName + '\'' +
", lastName='" + lastName + '\'' +
", titleBefore='" + titleBefore + '\'' +
", titleAfter='" + titleAfter + '\'' +
", namespace='" + namespace + '\'' +
", email='" + email + '\'' +
", password='realPasswordIsNotLogged'" +
", login='" + login + '\'' +
'}';
}

}

0 comments on commit dc24279

Please sign in to comment.