Skip to content

Commit

Permalink
Merge pull request #810 from Dohbedoh/improvement/inherited-serializa…
Browse files Browse the repository at this point in the history
…tion

Make GitHubAppCredentials#writeReplace protected for subclasses
  • Loading branch information
dwnusbaum authored Oct 23, 2024
2 parents 8378945 + caae2c8 commit 50351eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ long getTokenStaleEpochSeconds() {
* <li>The agent need not be able to contact GitHub.
* </ul>
*/
private Object writeReplace() {
protected Object writeReplace() {
if (
/* XStream */ Channel.current() == null) {
return this;
Expand Down

0 comments on commit 50351eb

Please sign in to comment.