Skip to content

Commit 6480631

Browse files
committed
style: fix spotless format violations
Fix code formatting issues in McpClientBuilder and VersionTest to comply with spotless:check requirements. - McpClientBuilder.java: Break long constructor call into multiple lines - VersionTest.java: Break long assertion into multiple lines
1 parent 2c88c95 commit 6480631

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

agentscope-core/src/main/java/io/agentscope/core/tool/mcp/McpClientBuilder.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,9 @@ public Mono<McpClientWrapper> buildAsync() {
296296

297297
McpSchema.Implementation clientInfo =
298298
new McpSchema.Implementation(
299-
"agentscope-java", "AgentScope Java Framework", "1.0.10-SNAPSHOT");
299+
"agentscope-java",
300+
"AgentScope Java Framework",
301+
"1.0.10-SNAPSHOT");
300302

301303
McpSchema.ClientCapabilities clientCapabilities =
302304
McpSchema.ClientCapabilities.builder().build();

agentscope-core/src/test/java/io/agentscope/core/VersionTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ void testVersionConstant() {
3030
// Verify version constant is set
3131
Assertions.assertNotNull(Version.VERSION, "VERSION constant should not be null");
3232
Assertions.assertFalse(Version.VERSION.isEmpty(), "VERSION constant should not be empty");
33-
Assertions.assertEquals("1.0.10-SNAPSHOT", Version.VERSION, "VERSION should match current version");
33+
Assertions.assertEquals(
34+
"1.0.10-SNAPSHOT", Version.VERSION, "VERSION should match current version");
3435
}
3536

3637
@Test

0 commit comments

Comments
 (0)