Skip to content

Commit 9a8ddf4

Browse files
committed
Format code
1 parent 284eacc commit 9a8ddf4

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

schemacrawler-ai-mcpserver/src/main/java/schemacrawler/tools/ai/mcpserver/server/HeartbeatLogger.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ public void logHeartbeat() {
4747

4848
LOGGER.log(
4949
Level.INFO,
50-
new StringFormat(
51-
"Heartbeat: %s is running with uptime %s.", serverName(), serverUptime()));
50+
new StringFormat("Heartbeat: %s is running with uptime %s.", serverName(), serverUptime()));
5251
}
5352

5453
private String serverName() {

schemacrawler-ai-mcpserver/src/test/java/schemacrawler/tools/ai/mcpserver/server/test/HealthControllerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class HealthControllerTest {
3131
@Autowired private MockMvc mockMvc;
3232

3333
@ParameterizedTest
34-
@ValueSource(strings = { "/", "/health" })
34+
@ValueSource(strings = {"/", "/health"})
3535
@DisplayName("Health endpoint should return status UP")
3636
public void healthCheckEndpoint(final String endpoint) throws Exception {
3737
mockMvc

schemacrawler-ai-mcpserver/src/test/java/schemacrawler/tools/ai/mcpserver/test/SchemaCrawlerMCPServerTest.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
import schemacrawler.tools.ai.mcpserver.SseMcpServer;
2626
import schemacrawler.tools.ai.mcpserver.server.ConfigurationManager;
2727

28-
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
28+
@SpringBootTest(
29+
webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
2930
classes = {SseMcpServer.class})
3031
public class SchemaCrawlerMCPServerTest {
3132

@@ -39,11 +40,9 @@ public static void unsetDryRun() {
3940
ConfigurationManager.getInstance().setDryRun(false);
4041
}
4142

42-
@LocalServerPort
43-
private int port;
43+
@LocalServerPort private int port;
4444

45-
@Autowired
46-
private TestRestTemplate restTemplate;
45+
@Autowired private TestRestTemplate restTemplate;
4746

4847
@Test
4948
@DisplayName("Application context loads successfully")

0 commit comments

Comments
 (0)