mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-05-07 14:25:57 +02:00
fix wrong comments of the AdvancedHttpClient api
This commit is contained in:
@@ -123,7 +123,7 @@ public class AdvancedHttpRequestWithBody
|
||||
}
|
||||
|
||||
/**
|
||||
* Transforms the given object to a xml string and set this string as request
|
||||
* Transforms the given object to a json string and set this string as request
|
||||
* content.
|
||||
*
|
||||
* @param object object to transform
|
||||
|
||||
@@ -253,7 +253,9 @@ public abstract class AdvancedHttpResponse
|
||||
}
|
||||
|
||||
/**
|
||||
* Transforms the response content from xml to the given type.
|
||||
* Transforms the response content to the given type. The method will use
|
||||
* the {@link ContentTransformer} which is responsible for the the given
|
||||
* content type.
|
||||
*
|
||||
* @param <T> object type
|
||||
* @param type object type
|
||||
|
||||
Reference in New Issue
Block a user