Refine McpJsonDefaults method names (#789)
As a follow-up of #779, this commit refines McpJsonDefaults method names by shortening them to not repeat the qualifiers already expressed at type level.
This commit is contained in:
parent
8549e36dfc
commit
e60a0743a5
2 changed files with 94 additions and 108 deletions
|
|
@ -14,7 +14,7 @@ class McpJsonMapperTest {
|
|||
|
||||
@Test
|
||||
void shouldUseJackson2Mapper() {
|
||||
assertThat(McpJsonDefaults.getDefaultMcpJsonMapper()).isInstanceOf(JacksonMcpJsonMapper.class);
|
||||
assertThat(McpJsonDefaults.getMapper()).isInstanceOf(JacksonMcpJsonMapper.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ class JsonSchemaValidatorTest {
|
|||
|
||||
@Test
|
||||
void shouldUseJackson2Mapper() {
|
||||
assertThat(McpJsonDefaults.getDefaultJsonSchemaValidator()).isInstanceOf(DefaultJsonSchemaValidator.class);
|
||||
assertThat(McpJsonDefaults.getSchemaValidator()).isInstanceOf(DefaultJsonSchemaValidator.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue