File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/main/java/com/microsoft/graph/http Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -92,12 +92,11 @@ protected T1 send() throws ClientException {
9292 *
9393 * @param serializedObject the object to serialize as the body
9494 * @param <T1> the type of the callback result
95- * @param <T2> the type of the serialized body
95+ * @param <BodyType> the type of the serialized body
9696 * @return the response object
9797 * @throws ClientException an exception occurs if there was an error while the request was sent
9898 */
99- @ SuppressWarnings ("unchecked" )
100- protected <T1 , T2 > T1 post (final T2 serializedObject ) throws ClientException {
99+ protected <BodyType > T1 post (final BodyType serializedObject ) throws ClientException {
101100 baseRequest .setHttpMethod (HttpMethod .POST );
102101 return (T1 ) baseRequest .getClient ().getHttpProvider ().send (this , responseClass , serializedObject );
103102 }
You can’t perform that action at this time.
0 commit comments