groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject groovy git commit: remove javadoc warnings
Date Tue, 02 Jan 2018 01:36:56 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X 90f037242 -> 8a8155ae2


remove javadoc warnings


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

Branch: refs/heads/GROOVY_2_6_X
Commit: 8a8155ae258061274f44a847f81e4536e893c110
Parents: 90f0372
Author: paulk <paulk@asert.com.au>
Authored: Tue Jan 2 11:25:17 2018 +1000
Committer: paulk <paulk@asert.com.au>
Committed: Tue Jan 2 11:36:42 2018 +1000

----------------------------------------------------------------------
 .../java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java   | 4 ++--
 .../java/org/codehaus/groovy/runtime/memoize/EvictableCache.java | 1 -
 .../java/org/apache/groovy/parser/antlr4/SemanticPredicates.java | 1 -
 3 files changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/8a8155ae/src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java b/src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
index 3037fea..e5025df 100644
--- a/src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
+++ b/src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
@@ -11399,7 +11399,7 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport
{
      * Coerce a Float instance to a boolean value.
      *
      * @param object the Float
-     * @return {@code true} for non-zero and non-NaN values, else {@false}
+     * @return {@code true} for non-zero and non-NaN values, else {@code false}
      * @since 2.6.0
      */
     public static boolean asBoolean(Float object) {
@@ -11411,7 +11411,7 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport
{
      * Coerce a Double instance to a boolean value.
      *
      * @param object the Double
-     * @return {@code true} for non-zero and non-NaN values, else {@false}
+     * @return {@code true} for non-zero and non-NaN values, else {@code false}
      * @since 2.6.0
      */
     public static boolean asBoolean(Double object) {

http://git-wip-us.apache.org/repos/asf/groovy/blob/8a8155ae/src/main/java/org/codehaus/groovy/runtime/memoize/EvictableCache.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/codehaus/groovy/runtime/memoize/EvictableCache.java b/src/main/java/org/codehaus/groovy/runtime/memoize/EvictableCache.java
index 34a0b8d..60bf8fd 100644
--- a/src/main/java/org/codehaus/groovy/runtime/memoize/EvictableCache.java
+++ b/src/main/java/org/codehaus/groovy/runtime/memoize/EvictableCache.java
@@ -84,7 +84,6 @@ public interface EvictableCache<K, V> extends MemoizeCache<K, V>
{
     interface ValueProvider<K, V> {
         /**
          * Provide the created value
-         * @return
          */
         V provide(K key);
     }

http://git-wip-us.apache.org/repos/asf/groovy/blob/8a8155ae/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/SemanticPredicates.java
----------------------------------------------------------------------
diff --git a/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/SemanticPredicates.java
b/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/SemanticPredicates.java
index 695f573..ca6fb44 100644
--- a/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/SemanticPredicates.java
+++ b/subprojects/parser-antlr4/src/main/java/org/apache/groovy/parser/antlr4/SemanticPredicates.java
@@ -92,7 +92,6 @@ public class SemanticPredicates {
      * Method name should not end with "2: arguments" and "3: closure"
      *
      * @param t the type of pathExpression
-     * @return
      */
     public static boolean isFollowingMethodName(int t) {
         return !(2 == t || 3 == t);


Mime
View raw message