Skip to content

Commit be11dfb

Browse files
committed
Make getResponseBody method public
Changed the visibility of getResponseBody from private to public to allow access from outside the class.
1 parent 9f9f06c commit be11dfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

turing-aem/aem-commons/src/main/java/com/viglet/turing/connector/aem/commons/TurAemCommonsUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ public static <T> Optional<T> getResponseBody(String url, TurAemSourceContext tu
274274
return null;
275275
});
276276
}
277-
private static @NotNull Optional<String> getResponseBody(String url,
277+
public static @NotNull Optional<String> getResponseBody(String url,
278278
TurAemSourceContext turAemSourceContext) {
279279
try (CloseableHttpClient httpClient = HttpClientBuilder.create()
280280
.setDefaultHeaders(List.of(new BasicHeader(HttpHeaders.AUTHORIZATION,

0 commit comments

Comments
 (0)