Skip to content

Commit 2c62ca7

Browse files
Fix missing return value
1 parent afd6916 commit 2c62ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws-serverless-java-container-core/src/main/java/com/amazonaws/serverless/proxy/internal/servlet/AwsProxyHttpServletResponseWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ private boolean isBinary(String contentType) {
6464
return LambdaContainerHandler.getContainerConfig().isBinaryContentType(contentType.substring(0, semidx));
6565
}
6666
else {
67-
LambdaContainerHandler.getContainerConfig().isBinaryContentType(contentType);
67+
return LambdaContainerHandler.getContainerConfig().isBinaryContentType(contentType);
6868
}
6969
}
7070
return false;

0 commit comments

Comments
 (0)