From 480bd60a79331d9d2ca5f2d6c3138a3f9d65029d Mon Sep 17 00:00:00 2001 From: Fabian Trampusch Date: Sat, 18 Jul 2015 10:29:42 +0200 Subject: [PATCH] =?UTF-8?q?DATAREST-619=20-=20Fixed=20HTTP=20method=20ment?= =?UTF-8?q?ioned=20in=20Javadoc=20of=20RepositoryEntityController.patchIte?= =?UTF-8?q?mResource(=E2=80=A6).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously the Javadoc for said method mentioned PUT as the mapped HTTP method while it's actually PATCH. Original pull request: #188. --- .../data/rest/webmvc/RepositoryEntityController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/RepositoryEntityController.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/RepositoryEntityController.java index 120207b88..02a940e19 100644 --- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/RepositoryEntityController.java +++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/RepositoryEntityController.java @@ -381,7 +381,7 @@ class RepositoryEntityController extends AbstractRepositoryRestController implem } /** - * PUT /{repository}/{id} - Updates an existing entity or creates one at exactly that place. + * PATCH /{repository}/{id} - Updates an existing entity or creates one at exactly that place. * * @param resourceInformation * @param payload