Skip to content

Commit

Permalink
Fix Javadoc to reference the correct API.
Browse files Browse the repository at this point in the history
I'm sure this mistake came from copying and pasting.

RELNOTES=n/a
PiperOrigin-RevId: 713351364
  • Loading branch information
cpovirk authored and Google Java Core Libraries committed Jan 8, 2025
1 parent 0f4989f commit 564a3e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/com/google/common/truth/PathSubject.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public final class PathSubject extends Subject {

/**
* Obsolete factory instance. This factory was previously necessary for assertions like {@code
* assertWithMessage(...).about(intStreams()).that(stream)....}. Now, you can perform assertions
* like that without the {@code about(...)} call.
* assertWithMessage(...).about(paths()).that(path)....}. Now, you can perform assertions like
* that without the {@code about(...)} call.
*
* @deprecated Instead of {@code about(paths()).that(...)}, use just {@code that(...)}. Similarly,
* instead of {@code assertAbout(paths()).that(...)}, use just {@code assertThat(...)}.
Expand Down

0 comments on commit 564a3e4

Please sign in to comment.