Fix typos

Signed-off-by: Hyunwoo Jung <hyunwoojung@kakao.com>

See gh-51590
This commit is contained in:
Hyunwoo Jung
2026-09-07 11:53:30 +01:00
committed by Andy Wilkinson
parent 2a30bbc70a
commit 528c8bd1ea
16 changed files with 32 additions and 32 deletions
@@ -75,7 +75,7 @@ class JettyServletWebServerAutoConfigurationTests extends AbstractServletWebServ
}
@Test
void jettyWebSocketUpgradeFilterIsAddedToServletContex() {
void jettyWebSocketUpgradeFilterIsAddedToServletContext() {
this.serverRunner.run((context) -> {
ServletContext servletContext = context.getServletContext();
assertThat(servletContext).isNotNull();
@@ -44,8 +44,8 @@ public final class ConnectionFactoryUnwrapper {
*/
public static ConnectionFactory unwrapCaching(ConnectionFactory connectionFactory) {
if (connectionFactory instanceof CachingConnectionFactory cachingConnectionFactory) {
ConnectionFactory unwrapedConnectionFactory = cachingConnectionFactory.getTargetConnectionFactory();
return (unwrapedConnectionFactory != null) ? unwrapCaching(unwrapedConnectionFactory) : connectionFactory;
ConnectionFactory unwrappedConnectionFactory = cachingConnectionFactory.getTargetConnectionFactory();
return (unwrappedConnectionFactory != null) ? unwrapCaching(unwrappedConnectionFactory) : connectionFactory;
}
return connectionFactory;
}
@@ -197,7 +197,7 @@ class OtlpMetricsPropertiesConfigAdapterTests {
}
@Test
void shouldUseApplicationGroupIfServiceNamspaceIsNotSet() {
void shouldUseApplicationGroupIfServiceNamespaceIsNotSet() {
this.environment.setProperty("spring.application.group", "alpha");
assertThat(createAdapter().resourceAttributes()).containsEntry("service.namespace", "alpha");
}
@@ -55,9 +55,9 @@ class StartupTimeMetricsListenerAutoConfigurationTests {
SimpleMeterRegistry registry = context.getBean(SimpleMeterRegistry.class);
context.publishEvent(new ApplicationStartedEvent(new SpringApplication(), new String[0],
context.getSourceApplicationContext(), Duration.ofMillis(1500)));
TimeGauge startedTimeGage = registry.find("application.started.time").timeGauge();
assertThat(startedTimeGage).isNotNull();
assertThat(startedTimeGage.value(TimeUnit.MILLISECONDS)).isEqualTo(1500L);
TimeGauge startedTimeGauge = registry.find("application.started.time").timeGauge();
assertThat(startedTimeGauge).isNotNull();
assertThat(startedTimeGauge.value(TimeUnit.MILLISECONDS)).isEqualTo(1500L);
context.publishEvent(new ApplicationReadyEvent(new SpringApplication(), new String[0],
context.getSourceApplicationContext(), Duration.ofMillis(2000)));
TimeGauge readyTimeGage = registry.find("application.ready.time").timeGauge();