kopia lustrzana https://github.com/gaul/s3proxy
Remove unneeded UnsupportedEncodingException
rodzic
4e8b57b227
commit
e5fb3619df
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue