diff options
author | Thomas <> | 2023-09-11 12:12:18 +0200 |
---|---|---|
committer | Thomas <> | 2023-09-11 12:12:18 +0200 |
commit | 085b2fdf2c58f71bbf6ed5fb36f916efb9026058 (patch) | |
tree | 061ecd30f63ce792943cf9bfdb5f021fa5a56ab5 /eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/KeyValueUtils.java | |
parent | 4b0f4e62b0d2b34ce27485db08785a8a8261368a (diff) | |
download | EAAF-Components-085b2fdf2c58f71bbf6ed5fb36f916efb9026058.tar.gz EAAF-Components-085b2fdf2c58f71bbf6ed5fb36f916efb9026058.tar.bz2 EAAF-Components-085b2fdf2c58f71bbf6ed5fb36f916efb9026058.zip |
chore(core): remove some deprecated API methods
Diffstat (limited to 'eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/KeyValueUtils.java')
-rw-r--r-- | eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/KeyValueUtils.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/KeyValueUtils.java b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/KeyValueUtils.java index b0a91e74..153876f8 100644 --- a/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/KeyValueUtils.java +++ b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/KeyValueUtils.java @@ -55,17 +55,10 @@ public class KeyValueUtils { * @param properties Java {@link Properties} that should be converted * @return */ + @SuppressWarnings("unchecked") public static Map<String, String> convertPropertiesToMap(final Properties properties) { return new HashMap<String, String>((Map) properties); - // INFO Java8 solution ;) - // return properties.entrySet().stream().collect( - // Collectors.toMap( - // e -> e.getKey().toString(), - // e -> e.getValue().toString() - // ) - // ); - } /** |