Skip to content

Commit 27b46f9

Browse files
authored
MINOR: Correct the link in the Javadoc for test-common-internal-api (apache#18788)
Reviewers: Ken Huang <[email protected]>, TengYao Chi <[email protected]>, Chia-Ping Tsai <[email protected]>
1 parent ad031b9 commit 27b46f9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

test-common/test-common-internal-api/src/main/java/org/apache/kafka/common/test/api/ClusterConfigProperty.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
* The id can vary depending on the different {@link org.apache.kafka.common.test.api.Type}.
3434
* <ul>
3535
* <li> Under {@link org.apache.kafka.common.test.api.Type#KRAFT}, the broker id starts from
36-
* {@link org.apache.kafka.common.test.TestKitNodes#BROKER_ID_OFFSET 0}, the controller id
37-
* starts from {@link org.apache.kafka.common.test.TestKitNodes#CONTROLLER_ID_OFFSET 3000}
36+
* {@link org.apache.kafka.common.test.api.TestKitDefaults#BROKER_ID_OFFSET 0}, the controller id
37+
* starts from {@link org.apache.kafka.common.test.api.TestKitDefaults#CONTROLLER_ID_OFFSET 3000}
3838
* and increases by 1 with each addition broker/controller.</li>
3939
* <li> Under {@link org.apache.kafka.common.test.api.Type#CO_KRAFT}, the broker id and controller id both start from
40-
* {@link org.apache.kafka.common.test.TestKitNodes#BROKER_ID_OFFSET 0}
40+
* {@link org.apache.kafka.common.test.api.TestKitDefaults#BROKER_ID_OFFSET 0}
4141
* and increases by 1 with each additional broker/controller.</li>
4242
* </ul>
4343
*

test-common/test-common-internal-api/src/main/java/org/apache/kafka/common/test/api/ClusterTemplate.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
/**
3232
* Used to indicate that a test should call the method given by {@link #value()} to generate a number of
3333
* cluster configurations. The method specified by the value should accept a single argument of the type
34-
* {@link ClusterGenerator}. Any return value from the method is ignore. A test invocation
34+
* {@link ClusterGenerator}. Any return value from the method is ignored. A test invocation
3535
* will be generated for each {@link ClusterConfig} provided to the ClusterGenerator instance.
3636
*
3737
* The method given here must be static since it is invoked before any tests are actually run. Each test generated

test-common/test-common-internal-api/src/main/java/org/apache/kafka/common/test/api/ClusterTestDefaults.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
/**
2929
* Used to set class level defaults for any test template methods annotated with {@link ClusterTest} or
3030
* {@link ClusterTests}. The default values here are also used as the source for defaults in
31-
* {@link ClusterTestExtensions}.
31+
* {@link org.apache.kafka.common.test.junit.ClusterTestExtensions}.
3232
*/
3333
@Documented
3434
@Target({TYPE})

0 commit comments

Comments
 (0)