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

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


The following commit(s) were added to refs/heads/master by this push:
     new f30c96b7a7 fix typo
f30c96b7a7 is described below

commit f30c96b7a708824acc34fbc0efae074a50148af8
Author: Eric Milles <[email protected]>
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 cb73423a87..ff1c1b64eb 100644
--- 
a/src/main/java/org/codehaus/groovy/vmplugin/v8/PluginDefaultGroovyMethods.java
+++ 
b/src/main/java/org/codehaus/groovy/vmplugin/v8/PluginDefaultGroovyMethods.java
@@ -533,7 +533,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 -&gt; 42).isPresent()
@@ -547,7 +547,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 -&gt; 42L).isPresent()
@@ -561,7 +561,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 -&gt; Math.PI).isPresent()

Reply via email to