Skip to content

Commit 83b2411

Browse files
author
Pavel Rappo
committedSep 18, 2020
8253342: Fix typos in String.transform
Reviewed-by: jlaskey
1 parent 86a1640 commit 83b2411

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/java.base/share/classes/java/lang/String.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -3180,12 +3180,12 @@ public String translateEscapes() {
31803180
* string. The function should expect a single String argument
31813181
* and produce an {@code R} result.
31823182
* <p>
3183-
* Any exception thrown by {@code f()} will be propagated to the
3183+
* Any exception thrown by {@code f.apply()} will be propagated to the
31843184
* caller.
31853185
*
3186-
* @param f functional interface to a apply
3186+
* @param f a function to apply
31873187
*
3188-
* @param <R> class of the result
3188+
* @param <R> the type of the result
31893189
*
31903190
* @return the result of applying the function to this string
31913191
*

0 commit comments

Comments
 (0)
Please sign in to comment.