We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86a1640 commit 83b2411Copy full SHA for 83b2411
src/java.base/share/classes/java/lang/String.java
@@ -3180,12 +3180,12 @@ public String translateEscapes() {
3180
* string. The function should expect a single String argument
3181
* and produce an {@code R} result.
3182
* <p>
3183
- * Any exception thrown by {@code f()} will be propagated to the
+ * Any exception thrown by {@code f.apply()} will be propagated to the
3184
* caller.
3185
*
3186
- * @param f functional interface to a apply
+ * @param f a function to apply
3187
3188
- * @param <R> class of the result
+ * @param <R> the type of the result
3189
3190
* @return the result of applying the function to this string
3191
0 commit comments