You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/structured/ContextPairs.java
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -52,12 +52,12 @@ public class ContextPairs {
52
52
/**
53
53
* Add pairs using flat naming.
54
54
* @param <T> the item type
55
-
* @param delimeter the delimiter used if there is a prefix
55
+
* @param delimiter the delimiter used if there is a prefix
56
56
* @param pairs callback to add all the pairs
57
57
* @return a {@link BiConsumer} for use with the {@link JsonWriter}
58
58
*/
59
-
public <T> BiConsumer<T, BiConsumer<String, Object>> flat(Stringdelimeter, Consumer<Pairs<T>> pairs) {
60
-
returnflat(joinWith(delimeter), pairs);
59
+
public <T> BiConsumer<T, BiConsumer<String, Object>> flat(Stringdelimiter, Consumer<Pairs<T>> pairs) {
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot/src/test/java/org/springframework/boot/logging/structured/ContextPairsTests.java
0 commit comments