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:26:13 UTC
[groovy] branch GROOVY_3_0_X updated: tweak comment
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
new 8091175 tweak comment
8091175 is described below
commit 80911752b76b3d4f0425f13faa648829cedb5f92
Author: Paul King <pa...@asert.com.au>
AuthorDate: Fri May 29 17:26:05 2020 +1000
tweak comment
---
.../groovy/vmplugin/v8/PluginDefaultGroovyMethods.java | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/main/java/org/codehaus/groovy/vmplugin/v8/PluginDefaultGroovyMethods.java b/src/main/java/org/codehaus/groovy/vmplugin/v8/PluginDefaultGroovyMethods.java
index 48e150e..a1e42dd 100644
--- a/src/main/java/org/codehaus/groovy/vmplugin/v8/PluginDefaultGroovyMethods.java
+++ b/src/main/java/org/codehaus/groovy/vmplugin/v8/PluginDefaultGroovyMethods.java
@@ -363,9 +363,8 @@ public class PluginDefaultGroovyMethods extends DefaultGroovyMethodsSupport {
}
/**
- * 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 {@code ++} 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
@@ -382,9 +381,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 {@code --} 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