Skip to content

Commit

Permalink
Add an overview to our generated Javadoc.
Browse files Browse the repository at this point in the history
And remove the end of an HTML closing tag that was never started in `EventBus.java`.

RELNOTES=n/a
PiperOrigin-RevId: 548265592
  • Loading branch information
cpovirk authored and Google Java Core Libraries committed Jul 15, 2023
1 parent 934446b commit a9c2970
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@
[![Build Status](https://github.com/google/guava/workflows/CI/badge.svg?branch=master)](https://github.com/google/guava/actions)
[![OpenSSF Best Practices](https://bestpractices.coreinfrastructure.org/projects/7197/badge)](https://bestpractices.coreinfrastructure.org/projects/7197)

<!-- LINT.IfChange -->

Guava is a set of core Java libraries from Google that includes new collection
types (such as multimap and multiset), immutable collections, a graph library,
and utilities for concurrency, I/O, hashing, primitives, strings, and more! It
is widely used on most Java projects within Google, and widely used by many
other companies as well.

<!-- LINT.ThenChange(overview.html) -->

Guava comes in two flavors:

* The JRE flavor requires JDK 1.8 or higher.
Expand Down
1 change: 1 addition & 0 deletions android/guava/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@
<links>
<link>https://errorprone.info/api/latest/</link>
</links>
<overview>../../overview.html</overview>
</configuration>
<executions>
<execution>
Expand Down
1 change: 1 addition & 0 deletions guava/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@
<links>
<link>https://errorprone.info/api/latest/</link>
</links>
<overview>../overview.html</overview>
</configuration>
<executions>
<execution>
Expand Down
4 changes: 2 additions & 2 deletions guava/src/com/google/common/eventbus/EventBus.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

/**
* Dispatches events to listeners, and provides ways for listeners to register themselves.
* <!-- LINT.IfChange(avoid) -->
*
* <h2>Avoid EventBus</h2>
*
Expand Down Expand Up @@ -83,7 +83,7 @@
* to <a href="https://github.com/google/guava/issues/3311">more verbose</a>.
* </ul>
*
-->
* <!-- LINT.ThenChange(README.md:avoid) -->
*
* <h2>EventBus Summary</h2>
*
Expand Down
11 changes: 11 additions & 0 deletions overview.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<body>
<!-- LINT.IfChange -->
Guava is a set of core Java libraries from Google that includes new collection
types (such as multimap and multiset), immutable collections, a graph library,
and utilities for concurrency, I/O, hashing, primitives, strings, and more! It
is widely used on most Java projects within Google, and widely used by many
other companies as well.
<!-- LINT.ThenChange(README.md) -->

<p>For more information, see <a href="https://guava.dev/">guava.dev</a>.
</body>

0 comments on commit a9c2970

Please sign in to comment.