DATAREST-1324 - Fixed return type of ConfigurableHttpMethods.enable(…).
We now also return ConfigurableHttpMethods from its ….enable(…) method to make sure it can be chained properly.
This commit is contained in:
@@ -95,7 +95,7 @@ public class ConfigurableHttpMethods implements HttpMethods {
|
||||
* @param methods must not be {@literal null}.
|
||||
* @return
|
||||
*/
|
||||
public HttpMethods enable(HttpMethod... methods) {
|
||||
public ConfigurableHttpMethods enable(HttpMethod... methods) {
|
||||
|
||||
Assert.notNull(methods, "HttpMethods must not be null!");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user