aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/sms/SnsSmsClient.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/sms/SnsSmsClient.java b/src/main/java/org/traccar/sms/SnsSmsClient.java
index 0e77cea01..8ac234605 100644
--- a/src/main/java/org/traccar/sms/SnsSmsClient.java
+++ b/src/main/java/org/traccar/sms/SnsSmsClient.java
@@ -39,8 +39,8 @@ public class SnsSmsClient implements SmsManager {
}
}
- public AmazonSNS awsSNSClient(String access_key, String secret_key, String region) {
- BasicAWSCredentials awsCreds = new BasicAWSCredentials(access_key, secret_key);
+ public AmazonSNS awsSNSClient(String accessKey, String secretKey, String region) {
+ BasicAWSCredentials awsCreds = new BasicAWSCredentials(accessKey, secretKey);
return AmazonSNSClientBuilder.standard().withRegion(region)
.withCredentials(new AWSStaticCredentialsProvider(awsCreds)).build();
}