Skip to content

Commit b5a6e7e

Browse files
committed
chore: fix javadoc errors
Signed-off-by: Jeff Mesnil <[email protected]>
1 parent cb084ec commit b5a6e7e

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

spec-grpc/src/main/java/io/a2a/grpc/mapper/A2ACommonFieldMapper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ default <T> java.util.List<T> emptyListToNull(java.util.List<T> list) {
116116
/**
117117
* Converts domain Map to protobuf Struct (generic conversion).
118118
* <p>
119-
* Used for any Map<String, Object> field that maps to protobuf Struct (header, params, etc.).
119+
* Used for any {@code Map<String, Object>} field that maps to protobuf Struct (header, params, etc.).
120120
* Use this with {@code @Mapping(qualifiedByName = "mapToStruct")}.
121121
*
122122
* @param map the domain map
@@ -135,7 +135,7 @@ default Struct mapToStruct(Map<String, Object> map) {
135135
/**
136136
* Converts protobuf Struct to domain Map (generic conversion).
137137
* <p>
138-
* Used for any protobuf Struct field that maps to Map<String, Object> (header, params, etc.).
138+
* Used for any protobuf Struct field that maps to {@code Map<String, Object>} (header, params, etc.).
139139
* Use this with {@code @Mapping(qualifiedByName = "structToMap")}.
140140
*
141141
* @param struct the protobuf Struct

spec-grpc/src/main/java/io/a2a/grpc/mapper/SetTaskPushNotificationConfigMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ default PushNotificationConfig mapPushNotificationConfigWithId(SetTaskPushNotifi
127127
* <p>
128128
* The config_id from the request overrides the ID in the proto's PushNotificationConfig.
129129
*
130-
* @param request the protobuf SetTaskPushNotificationConfigRequest
130+
* @param domain the protobuf SetTaskPushNotificationConfigRequest
131131
* @return domain PushNotificationConfig with config_id injected
132132
*/
133133
default io.a2a.grpc.TaskPushNotificationConfig mapPushNotificationConfig(TaskPushNotificationConfig domain) {

spec/src/main/java/io/a2a/spec/StreamingJSONRPCRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* The A2A Protocol defines two primary streaming operations:
1616
* <ul>
1717
* <li>{@link SendStreamingMessageRequest} - Stream task execution events in real-time</li>
18-
* <li>{@link TaskResubscriptionRequest} - Resubscribe to events from an existing task</li>
18+
* <li>{@link SubscribeToTaskRequest} - Resubscribe to events from an existing task</li>
1919
* </ul>
2020
* <p>
2121
* Streaming requests follow the JSON-RPC 2.0 specification structure but the response
@@ -27,7 +27,7 @@
2727
*
2828
* @param <T> the type of the params object for this streaming request
2929
* @see SendStreamingMessageRequest
30-
* @see TaskResubscriptionRequest
30+
* @see SubscribeToTaskRequest
3131
* @see StreamingEventKind
3232
* @see <a href="https://a2a-protocol.org/latest/">A2A Protocol Specification</a>
3333
*/

spec/src/main/java/io/a2a/spec/TaskIdParams.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
* Parameters containing a task identifier for task-related operations.
1111
* <p>
1212
* This simple parameter record is used by operations that only need a task ID,
13-
* such as {@link CancelTaskRequest}, {@link TaskResubscriptionRequest}, and similar
13+
* such as {@link CancelTaskRequest}, {@link SubscribeToTaskRequest}, and similar
1414
* task-specific requests. It optionally includes metadata for additional context.
1515
*
1616
* @param id the unique task identifier (required)
1717
* @param metadata optional arbitrary key-value metadata for the request
1818
* @see CancelTaskRequest for task cancellation
19-
* @see TaskResubscriptionRequest for task resubscription
19+
* @see SubscribeToTaskRequest for task resubscription
2020
* @see <a href="https://a2a-protocol.org/latest/">A2A Protocol Specification</a>
2121
*/
2222
@JsonInclude(JsonInclude.Include.NON_ABSENT)

0 commit comments

Comments
 (0)