Skip to content

Commit f4c6458

Browse files
committed
changes
1 parent 6915d0e commit f4c6458

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemChooseSAS.java

+5-3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public class ITestAzureBlobFileSystemChooseSAS extends AbstractAbfsIntegrationTe
5454
private String accountSAS = null;
5555
private String containerSAS = null;
5656
private static final String TEST_PATH = "testPath";
57+
private static final String readPermission = "read";
5758

5859
/**
5960
* To differentiate which SASTokenProvider was used we will use different type of SAS Tokens.
@@ -150,9 +151,10 @@ public void testBothProviderFixedTokenConfigured() throws Exception {
150151
* Helper method to get the Fixed SAS token value
151152
*/
152153
private String getFixedSASToken(AbfsConfiguration config) throws Exception {
153-
String readPermission = "read";
154-
return config.getSASTokenProvider().getSASToken(this.getAccountName(), this.getFileSystemName(), getMethodName(),
155-
readPermission);
154+
return config.getSASTokenProvider()
155+
.getSASToken(this.getAccountName(), this.getFileSystemName(),
156+
getMethodName(),
157+
readPermission);
156158
}
157159

158160
/**

0 commit comments

Comments
 (0)