Skip to content

Commit 8cc00f0

Browse files
birariroOlgaMaciaszek
authored andcommitted
code rollback
1 parent f9e55b5 commit 8cc00f0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientsRegistrar.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,6 @@ static String getUrl(String url) {
118118
if (!url.contains("://")) {
119119
url = "http://" + url;
120120
}
121-
if (url.endsWith("/")) {
122-
url = url.substring(0, url.length() - 1);
123-
}
124121
try {
125122
new URL(url);
126123
}

0 commit comments

Comments
 (0)