DATAREST-619 - Fixed HTTP method mentioned in Javadoc of RepositoryEntityController.patchItemResource(…).

Previously the Javadoc for said method mentioned PUT as the mapped HTTP method while it's actually PATCH.

Original pull request: #188.
This commit is contained in:
Fabian Trampusch
2015-07-18 10:29:42 +02:00
committed by Oliver Gierke
parent 436a1fb9b9
commit 480bd60a79

View File

@@ -381,7 +381,7 @@ class RepositoryEntityController extends AbstractRepositoryRestController implem
}
/**
* <code>PUT /{repository}/{id}</code> - Updates an existing entity or creates one at exactly that place.
* <code>PATCH /{repository}/{id}</code> - Updates an existing entity or creates one at exactly that place.
*
* @param resourceInformation
* @param payload