8000 Removing these methods as requested in PR #112 · github-cloud/github-plugin@48c754f · GitHub
[go: up one dir, main page]

Skip to content

Commit 48c754f

Browse files
committed
Removing these methods as requested in PR jenkinsci#112
1 parent aade2d4 commit 48c754f

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/main/java/org/jenkinsci/plugins/github/config/GitHubServerConfig.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -102,19 +102,6 @@ public void setApiUrl(String apiUrl) {
102102
this.apiUrl = defaultIfBlank(apiUrl, GITHUB_URL);
103103
}
104104

105-
/**
106-
*
107-
* @param customApiUrl true if optional block "Custom GH Api Url" checked in UI
108-
* @deprecated
109-
* just set {@link #setApiUrl(String)}
110-
*/
111-
@DataBoundSetter
112-
public void setCustomApiUrl(boolean customApiUrl) {
113-
if (!customApiUrl) {
114-
this.apiUrl = GITHUB_URL;
115-
}
116-
}
117-
118105
/**
119106
* This server config will be used to manage GH Hooks if true
120107
*
@@ -129,15 +116,6 @@ public String getApiUrl() {
129116
return apiUrl;
130117
}
131118

132-
/**
133-
* @see #isUrlCustom(String)
134-
* @deprecated
135-
*/
136-
@Restricted(NoExternalUse.class)
137-
public boolean isCustomApiUrl() {
138-
return isUrlCustom(apiUrl);
139-
}
140-
141119
public boolean isManageHooks() {
142120
return manageHooks;
143121
}

0 commit comments

Comments
 (0)
0