You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2020/05/29 07:22:58 UTC

[groovy] branch GROOVY_2_5_X updated: tweak comment

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_2_5_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY_2_5_X by this push:
     new 0ad802f  tweak comment
0ad802f is described below

commit 0ad802f148fc3937e926b747cc865b90465c02ca
Author: Paul King <pa...@asert.com.au>
AuthorDate: Fri May 29 17:22:50 2020 +1000

    tweak comment
---
 .../groovy/vmplugin/v5/PluginDefaultGroovyMethods.java         | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/main/java/org/codehaus/groovy/vmplugin/v5/PluginDefaultGroovyMethods.java b/src/main/java/org/codehaus/groovy/vmplugin/v5/PluginDefaultGroovyMethods.java
index f30bcb2..9c99441 100644
--- a/src/main/java/org/codehaus/groovy/vmplugin/v5/PluginDefaultGroovyMethods.java
+++ b/src/main/java/org/codehaus/groovy/vmplugin/v5/PluginDefaultGroovyMethods.java
@@ -37,9 +37,8 @@ public class PluginDefaultGroovyMethods extends DefaultGroovyMethodsSupport {
     private static final Object[] NO_ARGS = new Object[0];
 
     /**
-     * This method is called by the ++ operator for enums. It will invoke
-     * Groovy's default next behaviour for enums do not have their own
-     * next method.
+     * This method is called by the ++ operator for enums. It will invoke Groovy's
+     * default next behaviour for enums that do not have their own next method.
      *
      * @param self an Enum
      * @return the next defined enum from the enum class
@@ -57,9 +56,8 @@ public class PluginDefaultGroovyMethods extends DefaultGroovyMethodsSupport {
     }
 
     /**
-     * This method is called by the -- operator for enums. It will invoke
-     * Groovy's default previous behaviour for enums that do not have
-     * their own previous method.
+     * This method is called by the -- operator for enums. It will invoke Groovy's
+     * default previous behaviour for enums that do not have their own previous method.
      *
      * @param self an Enum
      * @return the previous defined enum from the enum class