Skip to content

Commit ea45171

Browse files
committed
lint
1 parent b4b7312 commit ea45171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws-api/src/main/java/com/amplifyframework/api/aws/auth/IamRequestDecorator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public final okhttp3.Request decorate(okhttp3.Request req) throws ApiAuthExcepti
9797
okReqBuilder.addHeader(key, value);
9898

9999
// If content-type detected in headers, capture to use later
100-
if (key.equalsIgnoreCase("content-type")) {
100+
if ("content-type".equalsIgnoreCase(key)) {
101101
contentType = value;
102102
}
103103
}

0 commit comments

Comments
 (0)