Skip to content

Commit eb77668

Browse files
committed
Change method name for Java standards.
1 parent f019e3b commit eb77668

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/wa/client/Client.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public void run() {
303303
if (ServerConnectionStatus.NOTCONNECTED == getServerConnectionStatus()) {
304304
// IAMAccessToken should be retrieved from the IAM service by providing it with
305305
// your cloud API Key (based on your IBM ID)
306-
this.iamAccessToken = getIAMAccessToken(iamApiKey);
306+
this.iamAccessToken = getIamAccessToken(iamApiKey);
307307

308308
// We need to connect...
309309
connect();
@@ -1146,7 +1146,7 @@ private void initialize(Properties props) {
11461146

11471147
}
11481148

1149-
private String getIAMAccessToken(String apikey) {
1149+
private String getIamAccessToken(String apikey) {
11501150
String iamAccessToken = "";
11511151
String urlParameters = "apikey=" + apikey + "&grant_type=urn%3Aibm%3Aparams%3Aoauth%3Agrant-type%3Aapikey";
11521152
byte[] postData = urlParameters.getBytes(StandardCharsets.UTF_8);

0 commit comments

Comments
 (0)