Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8253342: Fix typos in String.transform
Reviewed-by: jlaskey
  • Loading branch information
pavelrappo committed Sep 18, 2020
1 parent 86a1640 commit 83b2411
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/java.base/share/classes/java/lang/String.java
Expand Up @@ -3180,12 +3180,12 @@ public String translateEscapes() {
* string. The function should expect a single String argument
* and produce an {@code R} result.
* <p>
* Any exception thrown by {@code f()} will be propagated to the
* Any exception thrown by {@code f.apply()} will be propagated to the
* caller.
*
* @param f functional interface to a apply
* @param f a function to apply
*
* @param <R> class of the result
* @param <R> the type of the result
*
* @return the result of applying the function to this string
*
Expand Down

1 comment on commit 83b2411

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on 83b2411 Sep 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.