aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-12-28 22:10:38 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-12-28 22:10:38 -0800
commit680df72d9dd0178b2bcec60c4e9c1c997c60630c (patch)
tree4be505ac006d04b48319c9f6ac9b67446ca442b1
parent91a940c9074c57b560fc6d7fe8a5304933ccde89 (diff)
downloadtrackermap-server-680df72d9dd0178b2bcec60c4e9c1c997c60630c.tar.gz
trackermap-server-680df72d9dd0178b2bcec60c4e9c1c997c60630c.tar.bz2
trackermap-server-680df72d9dd0178b2bcec60c4e9c1c997c60630c.zip
Make final
-rw-r--r--src/main/java/org/traccar/sms/HttpSmsClient.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/org/traccar/sms/HttpSmsClient.java b/src/main/java/org/traccar/sms/HttpSmsClient.java
index c6f3be0f1..f65c9e83e 100644
--- a/src/main/java/org/traccar/sms/HttpSmsClient.java
+++ b/src/main/java/org/traccar/sms/HttpSmsClient.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2018 Anton Tananaev (anton@traccar.org)
+ * Copyright 2018 - 2020 Anton Tananaev (anton@traccar.org)
* Copyright 2018 Andrey Kunitsyn (andrey@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -37,12 +37,12 @@ public class HttpSmsClient implements SmsManager {
private static final Logger LOGGER = LoggerFactory.getLogger(HttpSmsClient.class);
- private String url;
- private String authorizationHeader;
+ private final String url;
+ private final String authorizationHeader;
private String authorization;
- private String template;
- private boolean encode;
- private MediaType mediaType;
+ private final String template;
+ private final boolean encode;
+ private final MediaType mediaType;
public HttpSmsClient() {
url = Context.getConfig().getString("sms.http.url");