-
Notifications
You must be signed in to change notification settings - Fork 148
Closed
Description
This method in BaseCollectionRequest<T1, T2> is hiding types:
@SuppressWarnings("unchecked")
protected <T1, T2> T1 post(final T2 serializedObject) throws ClientException {
baseRequest.setHttpMethod(HttpMethod.POST);
return (T1) baseRequest.getClient().getHttpProvider().send(this, responseClass, serializedObject);
}When the <T1, T2> is removed from the post method a number of collection related compile errors turn up. This may indicate bugs (ClassCastExceptions) waiting for a user to hit those methods.
Reactions are currently unavailable