From 58ee33ceb244077f61980e5a8a6c01f67bea0c4c Mon Sep 17 00:00:00 2001 From: nik Date: Mon, 12 Mar 2018 14:25:23 +0300 Subject: [PATCH] annotations: fix @Contract's javadoc Show warning about `mutates` element in its description, not as part of `@return` tag. --- .../common/src/org/jetbrains/annotations/Contract.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/annotations/common/src/org/jetbrains/annotations/Contract.java b/platform/annotations/common/src/org/jetbrains/annotations/Contract.java index ac94772562e9..38d44b90d7b0 100644 --- a/platform/annotations/common/src/org/jetbrains/annotations/Contract.java +++ b/platform/annotations/common/src/org/jetbrains/annotations/Contract.java @@ -86,8 +86,8 @@ public @interface Contract { * "this,arg1"Method mutates the receiver and first argument and doesn't mutate any other arguments * * + * Warning: This annotation parameter is experimental and may be changed or removed without further notice! * @return a mutation specifier string - * Warning: This annotation parameter is experimental and may be changed or removed without further notice! */ String mutates() default ""; }