Skip to content

Commit df5b2c4

Browse files
authored
Restore BitbucketEndpointConfiguration.normalizeServerUrl() for compatibility (#1049)
1 parent 91d55c3 commit df5b2c4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/main/java/com/cloudbees/jenkins/plugins/bitbucket/endpoints/BitbucketEndpointConfiguration.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,20 @@ public synchronized AbstractBitbucketEndpoint getDefaultEndpoint() {
291291
*
292292
* @param serverURL the server URL.
293293
* @return the normalized server URL.
294+
* @deprecated
295+
* @see #normalizeServerURL
296+
*/
297+
@CheckForNull
298+
@Deprecated
299+
public static String normalizeServerUrl(@CheckForNull String serverURL) {
300+
return normalizeServerURL(serverURL);
301+
}
302+
303+
/**
304+
* Fix a server URL.
305+
*
306+
* @param serverURL the server URL.
307+
* @return the normalized server URL.
294308
*/
295309
@CheckForNull
296310
public static String normalizeServerURL(@CheckForNull String serverURL) {

0 commit comments

Comments
 (0)