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 cc40a461566..2b2d61873eb 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 static Optional mapToObj(final OptionalDouble self, final DoubleFu } /** - * 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. *
      * assert !Optional.empty().mapToInt(x -> 42).isPresent()
@@ -281,7 +281,7 @@ public static  OptionalInt mapToInt(final Optional self, final ToIntFuncti
     }
 
     /**
-     * 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.
      * 
      * assert !Optional.empty().mapToLong(x -> 42L).isPresent()
@@ -295,7 +295,7 @@ public static  OptionalLong mapToLong(final Optional self, final ToLongFun
     }
 
     /**
-     * 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.
      * 
      * assert !Optional.empty().mapToDouble(x -> Math.PI).isPresent()