add @since version

Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/c2e11c04
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/c2e11c04
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/c2e11c04

Branch: refs/heads/GROOVY_2_6_X
Commit: c2e11c045f2c2ab441090a4029cb7f638d962a34
Parents: 6165cff
Author: paulk <pa...@asert.com.au>
Authored: Thu Feb 8 20:42:07 2018 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Thu Feb 8 20:48:36 2018 +1000

----------------------------------------------------------------------
 src/main/java/org/codehaus/groovy/ast/FieldNode.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/c2e11c04/src/main/java/org/codehaus/groovy/ast/FieldNode.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/codehaus/groovy/ast/FieldNode.java 
b/src/main/java/org/codehaus/groovy/ast/FieldNode.java
index 33e15c3..18dd09e 100644
--- a/src/main/java/org/codehaus/groovy/ast/FieldNode.java
+++ b/src/main/java/org/codehaus/groovy/ast/FieldNode.java
@@ -136,15 +136,16 @@ public class FieldNode extends AnnotatedNode implements 
Opcodes, Variable, Groov
         return (modifiers & ACC_PUBLIC) != 0;
     }
 
-   /**
+    /**
      * @return true if the field is protected
      */
     public boolean isProtected() {
         return (modifiers & ACC_PROTECTED) != 0;
     }
 
-   /**
+    /**
      * @return true if the field is private
+     * @since 2.5.0
      */
     public boolean isPrivate() {
         return (modifiers & ACC_PRIVATE) != 0;

Reply via email to