Repository: groovy
Updated Branches:
  refs/heads/master ca4ffaac1 -> f8e294a1c


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/f8e294a1
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/f8e294a1
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/f8e294a1

Branch: refs/heads/master
Commit: f8e294a1c5a1efcf305b9e5cc2f744b5eb4bdfa2
Parents: ca4ffaa
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:42:07 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/f8e294a1/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