Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenRi committed Nov 17, 2022
1 parent 5725a87 commit 2db909e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ protected String getRootKey() {

/**
* Creates an OSS {@code ClientConfiguration} using an Alluxio Configuration.
*
* @param alluxioConf the OSS Configuration
* @return the OSS {@link ClientBuilderConfiguration}
*/
public static ClientBuilderConfiguration initializeOSSClientConfig(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void testInitAndRefresh() throws Exception {
PowerMockito.whenNew(OSSClient.class).withAnyArguments().thenReturn(ossClient);
PowerMockito.mockStatic(HttpUtils.class);
when(HttpUtils.get(mEcsMetadataService, 10000)).thenReturn(MOCK_ECS_META_RESPONSE);
try(StsOssClientProvider clientProvider = new StsOssClientProvider(ossConfiguration)) {
try (StsOssClientProvider clientProvider = new StsOssClientProvider(ossConfiguration)) {
clientProvider.init();
// refresh
String responseBodyString = "{\n"
Expand Down

0 comments on commit 2db909e

Please sign in to comment.