Skip to content

Commit bbbb57f

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

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,12 @@ public void delete(String taskId) {
9696
* Determines if a task is considered active for queue management purposes.
9797
* <p>
9898
* A task is active if:
99+
* </p>
99100
* <ul>
100101
* <li>Its state is not final, OR</li>
101102
* <li>Its state is final but it was finalized within the grace period</li>
102103
* </ul>
104+
* <p>
103105
* The grace period handles the race condition where events are published to Kafka
104106
* while a task is active, but consumed on a replica node after the task is finalized.
105107
* </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)