Skip to content

Commit 5ba633e

Browse files
committed
Polish "Remove unnecessary @Nullables from local variable declarations"
See gh-50866
1 parent dff33ae commit 5ba633e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ private Map<String, Object> parseMapInternal(int nesting, String json) {
8282
Map<String, Object> map = new LinkedHashMap<>();
8383
json = trimEdges(json, '{', '}').trim();
8484
for (String pair : tokenize(json)) {
85-
String @Nullable [] split = StringUtils.split(pair, ":");
85+
String[] split = StringUtils.split(pair, ":");
8686
Assert.state(split != null, () -> "Unable to parse '%s'".formatted(pair));
8787
@Nullable String[] rawElement = StringUtils.trimArrayElements(split);
8888
String rawKey = rawElement[0];

0 commit comments

Comments
 (0)