Skip to content

Commit

Permalink
address review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczi committed Nov 8, 2024
1 parent c539fac commit 831d90e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -681,9 +681,9 @@ public static void insertValue(String path, Map<?, ?> map, Object newValue) {
}
}

public record SuffixMap(String suffix, Map<String, Object> map) {}
private record SuffixMap(String suffix, Map<String, Object> map) {}

public static List<SuffixMap> extractSuffixMaps(String[] pathElements, int index, Object currentValue) {
private static List<SuffixMap> extractSuffixMaps(String[] pathElements, int index, Object currentValue) {
if (currentValue instanceof List<?> valueList) {
List<SuffixMap> suffixMaps = new ArrayList<>(valueList.size());
for (Object o : valueList) {
Expand Down

0 comments on commit 831d90e

Please sign in to comment.