aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/Context.java
diff options
context:
space:
mode:
authorSubodh Ranadive <subodh.ranadive@ekzero.com>2021-03-05 15:31:32 +0530
committerSubodh Ranadive <subodh.ranadive@ekzero.com>2021-03-24 15:30:31 +0530
commitb98f3333d83795b8034257469e4f34fe46050372 (patch)
treed1f9ba8fb091482d19666d7f974af2b481c45e27 /src/main/java/org/traccar/Context.java
parent0ef761fbbb0299651368f729f962bf38c013350a (diff)
downloadtrackermap-server-b98f3333d83795b8034257469e4f34fe46050372.tar.gz
trackermap-server-b98f3333d83795b8034257469e4f34fe46050372.tar.bz2
trackermap-server-b98f3333d83795b8034257469e4f34fe46050372.zip
Review resolution
Diffstat (limited to 'src/main/java/org/traccar/Context.java')
-rw-r--r--src/main/java/org/traccar/Context.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/Context.java b/src/main/java/org/traccar/Context.java
index 0dce70b93..40340b1f0 100644
--- a/src/main/java/org/traccar/Context.java
+++ b/src/main/java/org/traccar/Context.java
@@ -318,9 +318,7 @@ public final class Context {
if (config.hasKey(Keys.SMS_HTTP_URL)) {
smsManager = new HttpSmsClient();
- }
-
- if (config.hasKey(Keys.AWS_SNS_ENABLED)) {
+ } else if (config.hasKey(Keys.AWS_SNS_ENABLED)) {
smsManager = new SnsSmsClient();
}