diff options
-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); } |