Skip to content

Commit 13f2c81

Browse files
authored
Return the correct parser if present in the builder (#5642)
1 parent 0bbac96 commit 13f2c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/protocols/aws-json-protocol/src/main/java/software/amazon/awssdk/protocols/json/internal/unmarshall/JsonProtocolUnmarshaller.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ private JsonProtocolUnmarshaller(Builder builder) {
7373

7474
private JsonNodeParser createParser(Builder builder, ProtocolUnmarshallDependencies dependencies) {
7575
if (builder.parser != null) {
76-
return parser;
76+
return builder.parser;
7777
}
7878
return JsonNodeParser
7979
.builder()

0 commit comments

Comments
 (0)