Skip to content

Commit b1fd1ca

Browse files
committed
Remove unused method
1 parent d504fd8 commit b1fd1ca

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

springdoc-openapi-starter-common/src/main/java/org/springdoc/scalar/AbstractScalarController.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828

2929
import java.io.IOException;
3030
import java.io.InputStream;
31-
import java.net.URLDecoder;
3231
import java.nio.charset.StandardCharsets;
3332

3433
import com.fasterxml.jackson.core.JsonProcessingException;
@@ -131,16 +130,6 @@ protected ResponseEntity<byte[]> getScalarJs() throws IOException {
131130
.body(jsContent);
132131
}
133132

134-
/**
135-
* Decode string.
136-
*
137-
* @param requestURI the request uri
138-
* @return the string
139-
*/
140-
protected String decode(String requestURI) {
141-
return URLDecoder.decode(requestURI, StandardCharsets.UTF_8);
142-
}
143-
144133
/**
145134
* Gets api docs url.
146135
*

0 commit comments

Comments
 (0)