Skip to content

Commit

Permalink
Fix unresolved reference in KDoc caused by bad formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjayVas committed Sep 13, 2023
1 parent 5460b88 commit c5ba47d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/org/wfanet/measurement/common/Flow.kt
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ private class SingleConsumedFlowItem<T>(singleItem: T) : ConsumedFlowItem<T>() {
*
* @param producerContext [CoroutineContext] for producing the returned items
* @return a [ConsumedFlowItem] containing the first item and the [Flow] of remaining items, or
* `null` if there is no first item. The caller must ensure that the returned object is [closed]
* [ConsumedFlowItem.close].
* `null` if there is no first item. The caller must ensure that the returned object is
* [closed][ConsumedFlowItem.close].
*/
@OptIn(
DelicateCoroutinesApi::class // For `Channel.isClosedForReceive`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import org.junit.runners.model.Statement
* evaluation.
*
* This can replace [ExternalResource][org.junit.rules.ExternalResource], which does not guarantee
* that [after][org.junit.rules.ExternalResource.after] is invoked if [before]
* [org.junit.rules.ExternalResource.before] throws an exception.
* that [after][org.junit.rules.ExternalResource.after] is invoked if
* [before][org.junit.rules.ExternalResource.before] throws an exception.
*/
open class CloseableResource<T : AutoCloseable>(private val createResource: () -> T) : TestRule {
protected lateinit var resource: T
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import org.junit.Rule
import org.wfanet.measurement.gcloud.spanner.AsyncDatabaseClient

/**
* Base class for JUnit4 tests using Cloud Spanner databases running in a test [Instance]
* [com.google.cloud.spanner.Instance] in Cloud Spanner Emulator.
* Base class for JUnit4 tests using Cloud Spanner databases running in a test
* [Instance][com.google.cloud.spanner.Instance] in Cloud Spanner Emulator.
*
* One emulator and test instance is created per test class, and one database is created per test
* case method. The [AsyncDatabaseClient] is accessible via the [databaseClient] property.
Expand Down

0 comments on commit c5ba47d

Please sign in to comment.