Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Crawford <[email protected]>
  • Loading branch information
stephen-crawford committed Oct 24, 2022
1 parent 3a4d899 commit c0144c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public PrincipalIdentifierToken generateToken(Principal principal) throws NoSuch
ByteArrayOutputStream output = new ByteArrayOutputStream();
output.write(this.extensionUniqueId.getBytes(StandardCharsets.UTF_8));
try {
output.write(principal.getName().getBytes(StandardCharsets.UTF_8)));
output.write(principal.getName().getBytes(StandardCharsets.UTF_8));
} catch (NullPointerException ex) {
throw new NullPointerException(INVALID_PRINCIPAL_MESSAGE);
}
Expand Down

0 comments on commit c0144c1

Please sign in to comment.