fix stuff

This commit is contained in:
Sandro La Bruzzo 2019-12-06 15:28:30 +01:00
parent 16c670a5d5
commit 35008fdbf9
1 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ public class MapDocumentUtil {
return m; return m;
} }
private static List<String> getJPathList(String path, String json, Type type) { public static List<String> getJPathList(String path, String json, Type type) {
if (type == Type.List) if (type == Type.List)
return JsonPath.read(json, path); return JsonPath.read(json, path);
Object jresult; Object jresult;
@ -136,7 +136,7 @@ public class MapDocumentUtil {
} }
private static String getJPathString(final String jsonPath, final String json) { public static String getJPathString(final String jsonPath, final String json) {
Object o = JsonPath.read(json, jsonPath); Object o = JsonPath.read(json, jsonPath);
if (o instanceof String) if (o instanceof String)