Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions spec/src/main/java/io/a2a/util/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ public class Utils {

private static final Logger log = Logger.getLogger(Utils.class.getName());

/**
* Specification version constant for deprecation annotations.
*/
public static final String SPEC_VERSION_1_0 = "1.0";

/**
* Returns the provided value if non-null, otherwise returns the default value.
* <p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,6 @@ public void testVersionNotSupportedErrorOnSendMessage() throws Exception {
.defaultInputModes(List.of("text"))
.defaultOutputModes(List.of("text"))
.skills(List.of())
.protocolVersion("1.0")
.build();

// Create handler that provides incompatible version 2.0 in the context
Expand Down Expand Up @@ -1012,7 +1011,6 @@ public void testVersionNotSupportedErrorOnSendStreamingMessage() throws Exceptio
.defaultInputModes(List.of("text"))
.defaultOutputModes(List.of("text"))
.skills(List.of())
.protocolVersion("1.0")
.build();

// Create handler that provides incompatible version 2.0 in the context
Expand Down Expand Up @@ -1058,7 +1056,6 @@ public void testCompatibleVersionSuccess() throws Exception {
.defaultInputModes(List.of("text"))
.defaultOutputModes(List.of("text"))
.skills(List.of())
.protocolVersion("1.0")
.build();

// Create handler that provides compatible version 1.1 in the context
Expand Down Expand Up @@ -1110,7 +1107,6 @@ public void testNoVersionDefaultsToCurrentVersionSuccess() throws Exception {
.defaultInputModes(List.of("text"))
.defaultOutputModes(List.of("text"))
.skills(List.of())
.protocolVersion("1.0")
.build();

// Create handler that provides null version (should default to 1.0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1781,7 +1781,6 @@ public void testVersionNotSupportedErrorOnMessageSend() {
.defaultInputModes(List.of("text"))
.defaultOutputModes(List.of("text"))
.skills(List.of())
.protocolVersion("1.0")
.build();

JSONRPCHandler handler = new JSONRPCHandler(agentCard, requestHandler, internalExecutor);
Expand Down Expand Up @@ -1821,7 +1820,6 @@ public void testVersionNotSupportedErrorOnMessageSendStream() throws Exception {
.defaultInputModes(List.of("text"))
.defaultOutputModes(List.of("text"))
.skills(List.of())
.protocolVersion("1.0")
.build();

JSONRPCHandler handler = new JSONRPCHandler(agentCard, requestHandler, internalExecutor);
Expand Down Expand Up @@ -1898,7 +1896,6 @@ public void testCompatibleVersionSuccess() {
.defaultInputModes(List.of("text"))
.defaultOutputModes(List.of("text"))
.skills(List.of())
.protocolVersion("1.0")
.build();

JSONRPCHandler handler = new JSONRPCHandler(agentCard, requestHandler, internalExecutor);
Expand Down Expand Up @@ -1942,7 +1939,6 @@ public void testNoVersionDefaultsToCurrentVersionSuccess() {
.defaultInputModes(List.of("text"))
.defaultOutputModes(List.of("text"))
.skills(List.of())
.protocolVersion("1.0")
.build();

JSONRPCHandler handler = new JSONRPCHandler(agentCard, requestHandler, internalExecutor);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,6 @@ public void testVersionNotSupportedErrorOnSendMessage() {
.defaultInputModes(List.of("text"))
.defaultOutputModes(List.of("text"))
.skills(List.of())
.protocolVersion("1.0")
.build();

RestHandler handler = new RestHandler(agentCard, requestHandler, internalExecutor);
Expand Down Expand Up @@ -680,7 +679,6 @@ public void testVersionNotSupportedErrorOnSendStreamingMessage() {
.defaultInputModes(List.of("text"))
.defaultOutputModes(List.of("text"))
.skills(List.of())
.protocolVersion("1.0")
.build();

RestHandler handler = new RestHandler(agentCard, requestHandler, internalExecutor);
Expand Down Expand Up @@ -769,7 +767,6 @@ public void testCompatibleVersionSuccess() {
.defaultInputModes(List.of("text"))
.defaultOutputModes(List.of("text"))
.skills(List.of())
.protocolVersion("1.0")
.build();

RestHandler handler = new RestHandler(agentCard, requestHandler, internalExecutor);
Expand Down Expand Up @@ -825,7 +822,6 @@ public void testNoVersionDefaultsToCurrentVersionSuccess() {
.defaultInputModes(List.of("text"))
.defaultOutputModes(List.of("text"))
.skills(List.of())
.protocolVersion("1.0")
.build();

RestHandler handler = new RestHandler(agentCard, requestHandler, internalExecutor);
Expand Down