Skip to content

Commit f1b1183

Browse files
committed
Polish "Use JsonMapper instead of ObjectMapper where feasible"
See gh-47503
1 parent 609b0b4 commit f1b1183

File tree

2 files changed

+2
-2
lines changed
  • buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/json
  • core/spring-boot/src/main/java/org/springframework/boot/json

2 files changed

+2
-2
lines changed

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/json/MappedObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ protected interface ContentReader<C> {
204204

205205
/**
206206
* Read JSON content as a {@link JsonNode}.
207-
* @param jsonMapper the source json mapper
207+
* @param jsonMapper the source JSON mapper
208208
* @param content the content to read
209209
* @return a {@link JsonNode}
210210
* @throws IOException on IO error

core/spring-boot/src/main/java/org/springframework/boot/json/JacksonJsonParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class JacksonJsonParser extends AbstractJsonParser {
4040

4141
/**
4242
* Creates an instance with the specified {@link JsonMapper}.
43-
* @param jsonMapper the json mapper to use
43+
* @param jsonMapper the JSON mapper to use
4444
*/
4545
public JacksonJsonParser(JsonMapper jsonMapper) {
4646
this.jsonMapper = jsonMapper;

0 commit comments

Comments
 (0)