Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
cpwright committed Dec 5, 2023
1 parent 7eaa896 commit 407bda9
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1034,11 +1034,12 @@ public static boolean removeInstance(final String name) {
}

/**
* Builds and caches a new UpdateGraph named {@code name} and provided by {@code construct}. It is an error if there is already an UpdateGraph with the same name.
* Builds and caches a new UpdateGraph named {@code name} and provided by {@code construct}. It is an error if there
* is already an UpdateGraph with the same name.
*
* @param name the name of the new update graph
* @param construct A {@link Supplier} to construct an UpdateGraph if no update graph with the name already
* exists. The Supplier must provide an update graph with the given name.
* @param construct A {@link Supplier} to construct an UpdateGraph if no update graph with the name already exists.
* The Supplier must provide an update graph with the given name.
*
* @throws IllegalStateException if an UpdateGraph with the provided name already exists
*/
Expand All @@ -1056,11 +1057,11 @@ public static <T extends UpdateGraph> T buildOrThrow(final String name, final Su
}

/**
* Returns an existing UpdateGraph with the provided {@code name} if one exists, else returns a new
* named UpdateGraph supplied by {@code construct}.
* Returns an existing UpdateGraph with the provided {@code name} if one exists, else returns a new named
* UpdateGraph supplied by {@code construct}.
*
* @param construct A {@link Supplier} to construct an UpdateGraph if no update graph with the name already
* exists. The Supplier must provide an update graph with the given name.
* @param construct A {@link Supplier} to construct an UpdateGraph if no update graph with the name already exists.
* The Supplier must provide an update graph with the given name.
*
* @return the UpdateGraph
*/
Expand Down

0 comments on commit 407bda9

Please sign in to comment.