Skip to content

Commit 692412e

Browse files
committed
✏️ Trivial: Fixed typo in error message (missing space)
1 parent 4f848af commit 692412e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • rest-services/jersey-client/src/main/java/com/_4point/aem/docservices/rest_services/client/jersey

rest-services/jersey-client/src/main/java/com/_4point/aem/docservices/rest_services/client/jersey/JerseyRestClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private static Optional<Response> processResponse(jakarta.ws.rs.core.Response re
118118

119119
String responseContentType = response.getHeaderString(HttpHeaders.CONTENT_TYPE);
120120
if ( responseContentType == null || !expectedMediaType.isCompatible(MediaType.valueOf(responseContentType))) {
121-
String msg = "Response from AEM server was not of expected type(" + expectedMediaType.toString() + "). " + (responseContentType != null ? "content-type='" + responseContentType + "'" : "content-type was null") + ".";
121+
String msg = "Response from AEM server was not of expected type (" + expectedMediaType.toString() + "). " + (responseContentType != null ? "content-type='" + responseContentType + "'" : "content-type was null") + ".";
122122
InputStream entityStream = (InputStream) response.getEntity();
123123
msg += "\n" + inputStreamtoString(entityStream);
124124
throw new RestClientException(msg);

0 commit comments

Comments
 (0)