Skip to content

Commit

Permalink
Improve ConnectorIdentity#toString
Browse files Browse the repository at this point in the history
  • Loading branch information
luohao authored and dain committed Feb 1, 2019
1 parent 1fad470 commit 4a4bf3f
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -66,6 +66,7 @@ public String toString()
StringBuilder sb = new StringBuilder("ConnectorIdentity{");
sb.append("user='").append(user).append('\'');
principal.ifPresent(principal -> sb.append(", principal=").append(principal));
role.ifPresent(role -> sb.append(", role=").append(role));
sb.append('}');
return sb.toString();
}
Expand Down

0 comments on commit 4a4bf3f

Please sign in to comment.