diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-12-27 18:03:19 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-12-27 18:03:19 -0800 |
commit | 1ca42bd2d0e999d4fb0141ee183dabe37d3a40f9 (patch) | |
tree | 475a26313af3d06c34f45e1c44f91902c33fe391 /src/main/java | |
parent | f1f7055be7723a1b39e81af8e5db75c17780c93f (diff) | |
download | trackermap-server-1ca42bd2d0e999d4fb0141ee183dabe37d3a40f9.tar.gz trackermap-server-1ca42bd2d0e999d4fb0141ee183dabe37d3a40f9.tar.bz2 trackermap-server-1ca42bd2d0e999d4fb0141ee183dabe37d3a40f9.zip |
Fix warnings
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/traccar/config/ConfigKey.java | 8 | ||||
-rw-r--r-- | src/main/java/org/traccar/config/ConfigSuffix.java | 4 |
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); } |