From 3960318d368a2643382c6a0d3a8b0037ef8baf8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20L=C3=BCdiger?= Date: Fri, 25 May 2018 14:43:57 +0200 Subject: [PATCH] DATAREST-811 - Fix incorrect @Version documentation. Original pull request: #295. --- src/main/asciidoc/etags-and-other-conditionals.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/asciidoc/etags-and-other-conditionals.adoc b/src/main/asciidoc/etags-and-other-conditionals.adoc index a471ebd47..4bf4ea65c 100644 --- a/src/main/asciidoc/etags-and-other-conditionals.adoc +++ b/src/main/asciidoc/etags-and-other-conditionals.adoc @@ -18,7 +18,7 @@ Consider the following example: include::{spring-data-rest-root}/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/ETagUnitTests.java[tag=versioned-sample] ---- -<1> Spring Data Commons's `@Version` annotation flags this field as a version marker. +<1> The `@javax.persistence.Version` annotation flags this field as a version marker. ==== The POJO in the preceding example, when served up as a REST resource by Spring Data REST, has an `ETag` header with the value of the version field.