aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-12-27 18:03:19 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-12-27 18:03:19 -0800
commit1ca42bd2d0e999d4fb0141ee183dabe37d3a40f9 (patch)
tree475a26313af3d06c34f45e1c44f91902c33fe391 /src/main/java/org/traccar/config
parentf1f7055be7723a1b39e81af8e5db75c17780c93f (diff)
downloadtraccar-server-1ca42bd2d0e999d4fb0141ee183dabe37d3a40f9.tar.gz
traccar-server-1ca42bd2d0e999d4fb0141ee183dabe37d3a40f9.tar.bz2
traccar-server-1ca42bd2d0e999d4fb0141ee183dabe37d3a40f9.zip
Fix warnings
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/ConfigKey.java8
-rw-r--r--src/main/java/org/traccar/config/ConfigSuffix.java4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/org/traccar/config/ConfigKey.java b/src/main/java/org/traccar/config/ConfigKey.java
index 2e54ad392..b9f54bcca 100644
--- a/src/main/java/org/traccar/config/ConfigKey.java
+++ b/src/main/java/org/traccar/config/ConfigKey.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Anton Tananaev (anton@traccar.org)
+ * Copyright 2019 - 2020 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,9 +18,9 @@ package org.traccar.config;
public class ConfigKey {
private final String key;
- private final Class clazz;
+ private final Class<?> clazz;
- ConfigKey(String key, Class clazz) {
+ ConfigKey(String key, Class<?> clazz) {
this.key = key;
this.clazz = clazz;
}
@@ -29,7 +29,7 @@ public class ConfigKey {
return key;
}
- Class getValueClass() {
+ Class<?> getValueClass() {
return clazz;
}
diff --git a/src/main/java/org/traccar/config/ConfigSuffix.java b/src/main/java/org/traccar/config/ConfigSuffix.java
index 149b2cd00..11218ddad 100644
--- a/src/main/java/org/traccar/config/ConfigSuffix.java
+++ b/src/main/java/org/traccar/config/ConfigSuffix.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019 Anton Tananaev (anton@traccar.org)
+ * Copyright 2019 - 2020 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@ package org.traccar.config;
public class ConfigSuffix extends ConfigKey {
- ConfigSuffix(String key, Class clazz) {
+ ConfigSuffix(String key, Class<?> clazz) {
super(key, clazz);
}