This is an automated email from the ASF dual-hosted git repository. emilles pushed a commit to branch GROOVY_4_0_X in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_4_0_X by this push: new fe3e1c6f39 fix typo fe3e1c6f39 is described below commit fe3e1c6f39c6716f3cc364d0bce897dcda52c7f0 Author: Eric Milles <eric.mil...@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 13023ff322..47c6fdba51 100644 --- a/src/main/java/org/codehaus/groovy/vmplugin/v8/PluginDefaultGroovyMethods.java +++ b/src/main/java/org/codehaus/groovy/vmplugin/v8/PluginDefaultGroovyMethods.java @@ -389,7 +389,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() @@ -403,7 +403,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() @@ -417,7 +417,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()