Remove unneeded UnsupportedEncodingException

pull/583/head
Andrew Gaul 2023-12-26 13:29:22 +09:00 zatwierdzone przez Andrew Gaul
rodzic 4e8b57b227
commit e5fb3619df
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -17,7 +17,6 @@
package org.gaul.s3proxy;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.nio.charset.StandardCharsets;
import java.security.InvalidKeyException;
import java.security.MessageDigest;
@ -249,8 +248,8 @@ final class AwsSignature {
return headersWithValues.toString();
}
private static String buildCanonicalQueryString(HttpServletRequest request)
throws UnsupportedEncodingException {
private static String buildCanonicalQueryString(
HttpServletRequest request) {
// The parameters are required to be sorted
List<String> parameters = Collections.list(request.getParameterNames());
Collections.sort(parameters);