From 680df72d9dd0178b2bcec60c4e9c1c997c60630c Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 28 Dec 2020 22:10:38 -0800 Subject: Make final --- src/main/java/org/traccar/sms/HttpSmsClient.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/main/java/org/traccar') 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"); -- cgit v1.2.3