Skip to content

Commit 396728e

Browse files
Simplify WebClientTestConfiguration to avoid bean conflicts
Remove ServerCodecConfigurer bean to avoid conflict with WebFluxAutoConfiguration. WebClient.Builder will use default codecs from Spring Boot autoconfiguration. Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com>
1 parent fd893af commit 396728e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

xapi-model/src/main/java/dev/learning/xapi/jackson/LocaleSerializer.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ public LocaleKeySerializer() {
4747
@Override
4848
public void serialize(Locale value, JsonGenerator gen, SerializerProvider provider)
4949
throws IOException {
50-
// For Map keys, Jackson calls this method but the JSON generator is in a state
51-
// where we should write a string value that will be used as the field name
5250
gen.writeFieldName(value.toLanguageTag());
5351
}
5452
}

0 commit comments

Comments
 (0)