groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject groovy git commit: trivial refactor (side effect: closes #406)
Date Thu, 01 Sep 2016 13:04:31 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X bde7da49b -> 359b6a93c


trivial refactor (side effect: closes #406)


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

Branch: refs/heads/GROOVY_2_4_X
Commit: 359b6a93c7ff5357a06d824f0107fe351d5b4fb0
Parents: bde7da4
Author: paulk <paulk@asert.com.au>
Authored: Thu Sep 1 23:03:33 2016 +1000
Committer: paulk <paulk@asert.com.au>
Committed: Thu Sep 1 23:04:18 2016 +1000

----------------------------------------------------------------------
 .../groovy/runtime/DefaultGroovyMethods.java    | 31 ++++++++++----------
 1 file changed, 15 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/359b6a93/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java b/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
index c2be7ab..11f3d57 100644
--- a/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
+++ b/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java
@@ -1977,11 +1977,11 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport
{
     }
 
     /**
-     * Iterates through an Set,
+     * Iterates through a Set,
      * passing each item and the item's index (a counter starting at
      * zero) to the given closure.
      *
-     * @param self    an Set
+     * @param self    a Set
      * @param closure a Closure to operate on each item
      * @return the self Set
      * @since 2.4.0
@@ -1991,11 +1991,11 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport
{
     }
 
     /**
-     * Iterates through an SortedSet,
+     * Iterates through a SortedSet,
      * passing each item and the item's index (a counter starting at
      * zero) to the given closure.
      *
-     * @param self    an SortedSet
+     * @param self    a SortedSet
      * @param closure a Closure to operate on each item
      * @return the self SortedSet
      * @since 2.4.0
@@ -2057,7 +2057,7 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport
{
     }
 
     /**
-     * Iterates through an Set, passing each item to the given closure.
+     * Iterates through a Set, passing each item to the given closure.
      *
      * @param self    the Set over which we iterate
      * @param closure the closure applied on each element found
@@ -2069,7 +2069,7 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport
{
     }
 
     /**
-     * Iterates through an SortedSet, passing each item to the given closure.
+     * Iterates through a SortedSet, passing each item to the given closure.
      *
      * @param self    the SortedSet over which we iterate
      * @param closure the closure applied on each element found
@@ -9053,7 +9053,7 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport
{
      * assert sortedSet == [3, 4, 2] as SortedSet
      * </pre>
      *
-     * @param self an SortedSet
+     * @param self a SortedSet
      * @return a SortedSet without its first element
      * @throws NoSuchElementException if the SortedSet is empty and you try to access the
tail()
      * @since 2.4.0
@@ -9178,7 +9178,7 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport
{
      * assert sortedSet == [3, 4, 2] as SortedSet
      * </pre>
      *
-     * @param self an SortedSet
+     * @param self a SortedSet
      * @return a SortedSet without its last element
      * @throws NoSuchElementException if the SortedSet is empty and you try to access init()
      * @since 2.4.0
@@ -10366,7 +10366,7 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport
{
     }
 
     /**
-     * Coerce an Boolean instance to a boolean value.
+     * Coerce a Boolean instance to a boolean value.
      *
      * @param bool the Boolean
      * @return the boolean value
@@ -14072,11 +14072,10 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport
{
     }
 
     /**
-     * Power of a BigInteger to an BigInteger certain exponent. Called by the
-     * '**' operator.
+     * Power of a BigInteger to a BigInteger certain exponent. Called by the '**' operator.
      *
      * @param self     a BigInteger
-     * @param exponent an BigInteger exponent
+     * @param exponent a BigInteger exponent
      * @return a BigInteger to the power of a the exponent
      * @since 2.3.8
      */
@@ -15160,7 +15159,7 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport
{
      * Transform a Number into a Float
      *
      * @param self a Number
-     * @return an Float
+     * @return a Float
      * @since 1.0
      */
     public static Float toFloat(Number self) {
@@ -15171,7 +15170,7 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport
{
      * Transform a Number into a Double
      *
      * @param self a Number
-     * @return an Double
+     * @return a Double
      * @since 1.0
      */
     public static Double toDouble(Number self) {
@@ -15199,7 +15198,7 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport
{
      * Transform a Number into a BigDecimal
      *
      * @param self a Number
-     * @return an BigDecimal
+     * @return a BigDecimal
      * @since 1.0
      */
     public static BigDecimal toBigDecimal(Number self) {
@@ -15248,7 +15247,7 @@ public class DefaultGroovyMethods extends DefaultGroovyMethodsSupport
{
      * Transform this Number into a BigInteger.
      *
      * @param self a Number
-     * @return an BigInteger
+     * @return a BigInteger
      * @since 1.0
      */
     public static BigInteger toBigInteger(Number self) {


Mime
View raw message