Skip to content

Commit a4cdc59

Browse files
committed
Remove Spring references from Javadoc comments
Replace "Spring MVC pattern" and similar Spring-specific language in internal Javadoc with neutral descriptions of what the code does.
1 parent 328f2c7 commit a4cdc59

File tree

5 files changed

+9
-13
lines changed

5 files changed

+9
-13
lines changed

acp-agent-support/src/main/java/com/agentclientprotocol/sdk/agent/support/AcpAgentSupport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
* Bootstrap class for annotation-based ACP agents.
6767
*
6868
* <p>This class provides a fluent builder API to configure and run
69-
* annotation-based agents without requiring Spring or other frameworks.
69+
* annotation-based agents without requiring any external framework.
7070
*
7171
* <p>Example usage:
7272
* <pre>{@code

acp-agent-support/src/main/java/com/agentclientprotocol/sdk/agent/support/AcpMethodParameter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
* Metadata about a method parameter. Implements equals/hashCode
1515
* for use as cache key in argument resolver lookup.
1616
*
17-
* <p>This class follows the Spring MVC pattern of pre-computing
18-
* and caching parameter metadata for performance.
17+
* <p>Pre-computes and caches parameter metadata for performance.
1918
*
2019
* @author Mark Pollack
2120
* @since 1.0.0

acp-agent-support/src/main/java/com/agentclientprotocol/sdk/agent/support/handler/ReturnValueHandlerComposite.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
* Composite that chains multiple return value handlers.
1515
*
1616
* <p>NOTE: Unlike argument resolvers, NO caching is used here.
17-
* This follows the Spring MVC pattern where return types vary more
18-
* and caching provides less benefit.
17+
* Return types vary more and caching provides less benefit.
1918
*
2019
* @author Mark Pollack
2120
* @since 1.0.0

acp-agent-support/src/main/java/com/agentclientprotocol/sdk/agent/support/interceptor/InterceptorChain.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
* Manages interceptor execution with proper lifecycle tracking.
1818
* Ensures afterCompletion is only called for interceptors that started.
1919
*
20-
* <p>This class follows the Spring MVC pattern of tracking the index
21-
* of the last successfully invoked interceptor, ensuring proper cleanup
22-
* even when exceptions occur.
20+
* <p>Tracks the index of the last successfully invoked interceptor,
21+
* ensuring proper cleanup even when exceptions occur.
2322
*
2423
* @author Mark Pollack
2524
* @since 1.0.0

acp-agent-support/src/main/java/com/agentclientprotocol/sdk/agent/support/resolver/ArgumentResolverComposite.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@
1616
* Composite that chains multiple argument resolvers.
1717
* Caches resolver selection per parameter for performance.
1818
*
19-
* <p>This follows the Spring MVC pattern where resolver lookup is
20-
* cached using {@link AcpMethodParameter} as the cache key. The first
21-
* resolver that supports a parameter is cached and reused for subsequent
22-
* invocations.
19+
* <p>Resolver lookup is cached using {@link AcpMethodParameter} as the
20+
* cache key. The first resolver that supports a parameter is cached and
21+
* reused for subsequent invocations.
2322
*
2423
* @author Mark Pollack
2524
* @since 1.0.0
@@ -28,7 +27,7 @@ public class ArgumentResolverComposite implements ArgumentResolver {
2827

2928
private final List<ArgumentResolver> resolvers = new ArrayList<>();
3029

31-
// Cache: parameter -> resolver (Spring pattern)
30+
// Cache: parameter -> resolver
3231
private final ConcurrentMap<AcpMethodParameter, ArgumentResolver> resolverCache = new ConcurrentHashMap<>(256);
3332

3433
// Sentinel value for "no resolver found"

0 commit comments

Comments
 (0)