Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Commit d0f951d

Browse files
authored
Parens for clarity around logic precedence
Added parens for clarity around logic precedence.
1 parent b926a3f commit d0f951d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browserup-proxy-core/src/main/java/com/browserup/bup/util/BrowserUpHttpUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public static boolean hasTextualContent(String contentType) {
135135
contentType.startsWith("application/json") ||
136136
contentType.startsWith("application/xml") ||
137137
contentType.startsWith("application/xhtml+xml") ||
138-
contentType.startsWith("application/") && contentType.endsWith("+json")
138+
(contentType.startsWith("application/") && contentType.endsWith("+json"))
139139
);
140140
}
141141

0 commit comments

Comments
 (0)