Skip to content

Commit f26c559

Browse files
committed
fix: javadoc issues uncovered when using -Prelease
1 parent 301a083 commit f26c559

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

extras/task-store-database-jpa/src/main/java/io/a2a/extras/taskstore/database/jpa/JpaDatabaseTaskStore.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ public void delete(String taskId) {
9494

9595
/**
9696
* Determines if a task is considered active for queue management purposes.
97-
* <p>
98-
* A task is active if:
97+
* <p>A task is active if:</p>
9998
* <ul>
10099
* <li>Its state is not final, OR</li>
101100
* <li>Its state is final but it was finalized within the grace period</li>
102101
* </ul>
102+
* <p>
103103
* The grace period handles the race condition where events are published to Kafka
104104
* while a task is active, but consumed on a replica node after the task is finalized.
105105
* </p>

server-common/src/main/java/io/a2a/server/tasks/TaskStateProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public interface TaskStateProvider {
2828
* </p>
2929
* <ul>
3030
* <li>Its state is not final, OR</li>
31-
* <li>Its state is final but finalized within the grace period (now < finalizedAt + gracePeriod)</li>
31+
* <li>Its state is final but finalized within the grace period (now &lt; finalizedAt + gracePeriod)</li>
3232
* </ul>
3333
* <p>
3434
* This method is used to decide whether to process late-arriving events.

0 commit comments

Comments
 (0)