Skip to content

Commit

Permalink
JENKINS-66322: guava forward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
simschla committed Aug 18, 2021
1 parent a42a8b0 commit d7ab8a1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ public Optional<String> emailAddress() {

@Override
public String toString() {
return Objects.toStringHelper(this)
.add("userId",this.userId)
.toString();
return String.format("GravatarUser{userId='%s'}", userId);
}

//--- for using as a cacheKey
Expand Down

0 comments on commit d7ab8a1

Please sign in to comment.