Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,7 @@ public IHttpRequest withHttpMethod(@Nonnull final HttpMethod httpMethod) {
*/
@Override
@Nullable
public <requestBodyType, responseType, nativeRequestType> nativeRequestType getHttpRequest(@Nonnull final requestBodyType serializedObject) throws ClientException {
Objects.requireNonNull(serializedObject, "parameter serializedObject cannot be null");
public <requestBodyType, responseType, nativeRequestType> nativeRequestType getHttpRequest(@Nullable final requestBodyType serializedObject) throws ClientException {
return baseRequest.getHttpRequest(serializedObject);
}
}