Commit aad7fe4
authored
[java] Fix FluentWait's sample usage wrt durations (#10208)
Commit 502301e removed some
deprecated methods which used the deprecated TimeUnit class and kept
only the overloaded methods that use Java's java.time.Duration class.
However, it missed fixing the sample usage at the beginning of the
javadoc that still referred to these methods.
This patch fixes the issue and replaces the method calls in the sample
usage with the newer methods that accept a Duration argument.
Fixes #102071 parent ad48d31 commit aad7fe4
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
| 52 | + | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments