From bbc9d93bf5634bda273e2f090bfb6ea6f15d08d9 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Fri, 12 Feb 2016 10:03:24 +0100 Subject: [PATCH] [doc] fix AccessorOrder documentation Before, the documentation mentionned that in order to call the method in the AccessorOrder annotation, we should use only the method name stripped of its "get" prefix. But it forgot to mention that the stripped method should start with a lower case letter. I fixed that minor typo. --- doc/reference/annotations.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/reference/annotations.rst b/doc/reference/annotations.rst index 25e5f3695..1af3141ca 100644 --- a/doc/reference/annotations.rst +++ b/doc/reference/annotations.rst @@ -148,7 +148,7 @@ default the order is undefined, but you may change it to either "alphabetical", } /** - * @AccessorOrder("custom", custom = {"name", "SomeMethod" ,"id"}) + * @AccessorOrder("custom", custom = {"name", "someMethod" ,"id"}) * * Resulting Property Order: name, mood, id */