Skip to content

Commit e48eb83

Browse files
committed
Possibly more descriptive name
1 parent 790ec23 commit e48eb83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubAppCredentials.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,18 +189,18 @@ private Object writeReplace() {
189189
if (/* XStream */Channel.current() == null) {
190190
return this;
191191
}
192-
return new AgentSide(this);
192+
return new DelegatingGitHubAppCredentials(this);
193193
}
194194

195-
private static final class AgentSide extends BaseStandardCredentials implements StandardUsernamePasswordCredentials {
195+
private static final class DelegatingGitHubAppCredentials extends BaseStandardCredentials implements StandardUsernamePasswordCredentials {
196196

197197
static final String SEP = "%%%";
198198

199199
private final String appID;
200200
private final String data;
201201
private transient Channel ch;
202202

203-
AgentSide(GitHubAppCredentials onMaster) {
203+
DelegatingGitHubAppCredentials(GitHubAppCredentials onMaster) {
204204
super(onMaster.getScope(), onMaster.getId(), onMaster.getDescription());
205205
JenkinsJVM.checkJenkinsJVM();
206206
appID = onMaster.appID;

0 commit comments

Comments
 (0)