Skip to content

Commit 02fdc62

Browse files
chore: format
1 parent 29a4b7e commit 02fdc62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

volcengine-java-sdk-core/src/main/java/com/volcengine/sign/VolcstackSign.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import java.security.MessageDigest;
1212
import java.text.SimpleDateFormat;
1313
import java.util.*;
14+
1415
import static com.volcengine.observability.debugger.SdkDebugLog.SDK_CORE_LOGGER;
1516

1617
/**
@@ -63,7 +64,7 @@ public void applyToParams(List<Pair> queryParams, Map<String, String> headerPara
6364
try {
6465
sign(params, headerParams, payload);
6566
} catch (Exception e) {
66-
SDK_CORE_LOGGER.error(()->"VolcstackSign exception: ", e);
67+
SDK_CORE_LOGGER.error(() -> "VolcstackSign exception: ", e);
6768
}
6869
}
6970

@@ -145,7 +146,7 @@ private void buildStringToSign(Map<String, String> headerParams, SignRequest sig
145146
stringToSign.append("\n");
146147
stringToSign.append(getSHA256(signRequest.canonicalRequest.toString()));
147148
signRequest.stringToSign = stringToSign;
148-
SDK_CORE_LOGGER.debugSign("stringToSign: " + signRequest.stringToSign);
149+
SDK_CORE_LOGGER.debugSign("stringToSign: " + signRequest.stringToSign);
149150
}
150151

151152
private void buildAuthorization(Map<String, String> headerParams, SignRequest signRequest) throws Exception {
@@ -325,7 +326,6 @@ public VolcstackSign copy() {
325326
}
326327

327328

328-
329329
/**
330330
* Generate presigned URL query parameters
331331
*

0 commit comments

Comments
 (0)