Skip to content

Commit

Permalink
fix a typo in a class name.
Browse files Browse the repository at this point in the history
RELNOTES=n/a
PiperOrigin-RevId: 592190794
  • Loading branch information
java-team-github-bot authored and Google Java Core Libraries committed Dec 19, 2023
1 parent 5c4f5b2 commit 5eda11b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions android/guava/src/com/google/common/primitives/Booleans.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ public String toString() {
/**
* Returns a {@code Comparator<Boolean>} that sorts {@code true} before {@code false}.
*
* <p>This is particularly useful in Java 8+ in combination with {@code Comparators.comparing},
* e.g. {@code Comparators.comparing(Foo::hasBar, trueFirst())}.
* <p>This is particularly useful in Java 8+ in combination with {@code Comparator.comparing},
* e.g. {@code Comparator.comparing(Foo::hasBar, trueFirst())}.
*
* @since 21.0
*/
Expand All @@ -86,8 +86,8 @@ public static Comparator<Boolean> trueFirst() {
/**
* Returns a {@code Comparator<Boolean>} that sorts {@code false} before {@code true}.
*
* <p>This is particularly useful in Java 8+ in combination with {@code Comparators.comparing},
* e.g. {@code Comparators.comparing(Foo::hasBar, falseFirst())}.
* <p>This is particularly useful in Java 8+ in combination with {@code Comparator.comparing},
* e.g. {@code Comparator.comparing(Foo::hasBar, falseFirst())}.
*
* @since 21.0
*/
Expand Down
8 changes: 4 additions & 4 deletions guava/src/com/google/common/primitives/Booleans.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ public String toString() {
/**
* Returns a {@code Comparator<Boolean>} that sorts {@code true} before {@code false}.
*
* <p>This is particularly useful in Java 8+ in combination with {@code Comparators.comparing},
* e.g. {@code Comparators.comparing(Foo::hasBar, trueFirst())}.
* <p>This is particularly useful in Java 8+ in combination with {@code Comparator.comparing},
* e.g. {@code Comparator.comparing(Foo::hasBar, trueFirst())}.
*
* @since 21.0
*/
Expand All @@ -86,8 +86,8 @@ public static Comparator<Boolean> trueFirst() {
/**
* Returns a {@code Comparator<Boolean>} that sorts {@code false} before {@code true}.
*
* <p>This is particularly useful in Java 8+ in combination with {@code Comparators.comparing},
* e.g. {@code Comparators.comparing(Foo::hasBar, falseFirst())}.
* <p>This is particularly useful in Java 8+ in combination with {@code Comparator.comparing},
* e.g. {@code Comparator.comparing(Foo::hasBar, falseFirst())}.
*
* @since 21.0
*/
Expand Down

0 comments on commit 5eda11b

Please sign in to comment.