You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by em...@apache.org on 2024/12/09 16:40:57 UTC
(groovy) branch GROOVY_3_0_X updated: fix typo
This is an automated email from the ASF dual-hosted git repository.
emilles 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 1e41827619 fix typo
1e41827619 is described below
commit 1e41827619ff2b31837912fd1dfa75b6d65d6615
Author: Eric Milles <er...@thomsonreuters.com>
AuthorDate: Mon Dec 9 10:38:07 2024 -0600
fix typo
---
.../org/codehaus/groovy/vmplugin/v8/PluginDefaultGroovyMethods.java | 6 +++---
1 file changed, 3 insertions(+), 3 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 cc40a46156..2b2d61873e 100644
--- a/src/main/java/org/codehaus/groovy/vmplugin/v8/PluginDefaultGroovyMethods.java
+++ b/src/main/java/org/codehaus/groovy/vmplugin/v8/PluginDefaultGroovyMethods.java
@@ -267,7 +267,7 @@ public class PluginDefaultGroovyMethods extends DefaultGroovyMethodsSupport {
}
/**
- * If a value is present in the {@code OptionalInt}, returns an {@code OptionalInt}
+ * If a value is present in the {@code Optional}, returns an {@code OptionalInt}
* consisting of the result of applying the given function to the value or else empty.
* <pre class="groovyTestCase">
* assert !Optional.empty().mapToInt(x -> 42).isPresent()
@@ -281,7 +281,7 @@ public class PluginDefaultGroovyMethods extends DefaultGroovyMethodsSupport {
}
/**
- * If a value is present in the {@code OptionalLong}, returns an {@code OptionalLong}
+ * If a value is present in the {@code Optional}, returns an {@code OptionalLong}
* consisting of the result of applying the given function to the value or else empty.
* <pre class="groovyTestCase">
* assert !Optional.empty().mapToLong(x -> 42L).isPresent()
@@ -295,7 +295,7 @@ public class PluginDefaultGroovyMethods extends DefaultGroovyMethodsSupport {
}
/**
- * If a value is present in the {@code OptionalDouble}, returns an {@code OptionalDouble}
+ * If a value is present in the {@code Optional}, returns an {@code OptionalDouble}
* consisting of the result of applying the given function to the value or else empty.
* <pre class="groovyTestCase">
* assert !Optional.empty().mapToDouble(x -> Math.PI).isPresent()