|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright 2020-2022 the original author or authors.
|
|
|
+ * Copyright 2020-2024 the original author or authors.
|
|
|
*
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
* you may not use this file except in compliance with the License.
|
|
@@ -30,10 +30,10 @@ import com.fasterxml.jackson.databind.ObjectMapper;
|
|
|
*/
|
|
|
abstract class JsonNodeUtils {
|
|
|
|
|
|
- static final TypeReference<Set<String>> STRING_SET = new TypeReference<Set<String>>() {
|
|
|
+ static final TypeReference<Set<String>> STRING_SET = new TypeReference<>() {
|
|
|
};
|
|
|
|
|
|
- static final TypeReference<Map<String, Object>> STRING_OBJECT_MAP = new TypeReference<Map<String, Object>>() {
|
|
|
+ static final TypeReference<Map<String, Object>> STRING_OBJECT_MAP = new TypeReference<>() {
|
|
|
};
|
|
|
|
|
|
static String findStringValue(JsonNode jsonNode, String fieldName) {
|