From ed77266df1fadad5f72543bb839ec6b1186aad0e Mon Sep 17 00:00:00 2001 From: Tran Ngoc Nhan Date: Fri, 4 Jul 2025 18:49:46 +0700 Subject: [PATCH] Fix typos Signed-off-by: Tran Ngoc Nhan --- .../client/discovery/AutoRegisterPropertyFalseTests.java | 4 ++-- .../EnableDiscoveryClientAutoRegisterFalseTests.java | 4 ++-- .../CloudHypermediaAutoConfigurationIntegrationTests.java | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/spring-cloud-commons/src/test/java/org/springframework/cloud/client/discovery/AutoRegisterPropertyFalseTests.java b/spring-cloud-commons/src/test/java/org/springframework/cloud/client/discovery/AutoRegisterPropertyFalseTests.java index a2ad236e3..6717e6675 100644 --- a/spring-cloud-commons/src/test/java/org/springframework/cloud/client/discovery/AutoRegisterPropertyFalseTests.java +++ b/spring-cloud-commons/src/test/java/org/springframework/cloud/client/discovery/AutoRegisterPropertyFalseTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,7 +48,7 @@ public class AutoRegisterPropertyFalseTests { Boolean autoRegisterProperty; @Test - public void veryifyBeans() { + public void verifyBeans() { then(this.autoConfiguration).isNull(); then(this.autoServiceRegistration).isNull(); then(this.autoServiceRegistrationProperties).isNull(); diff --git a/spring-cloud-commons/src/test/java/org/springframework/cloud/client/discovery/EnableDiscoveryClientAutoRegisterFalseTests.java b/spring-cloud-commons/src/test/java/org/springframework/cloud/client/discovery/EnableDiscoveryClientAutoRegisterFalseTests.java index 9aeca7f26..3d01877e1 100644 --- a/spring-cloud-commons/src/test/java/org/springframework/cloud/client/discovery/EnableDiscoveryClientAutoRegisterFalseTests.java +++ b/spring-cloud-commons/src/test/java/org/springframework/cloud/client/discovery/EnableDiscoveryClientAutoRegisterFalseTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,7 +48,7 @@ public class EnableDiscoveryClientAutoRegisterFalseTests { Boolean autoRegisterProperty; @Test - public void veryifyBeans() { + public void verifyBeans() { then(this.autoConfiguration).isNull(); then(this.autoServiceRegistration).isNull(); then(this.autoServiceRegistrationProperties).isNull(); diff --git a/spring-cloud-commons/src/test/java/org/springframework/cloud/client/hypermedia/CloudHypermediaAutoConfigurationIntegrationTests.java b/spring-cloud-commons/src/test/java/org/springframework/cloud/client/hypermedia/CloudHypermediaAutoConfigurationIntegrationTests.java index 10b381414..b282cadbc 100644 --- a/spring-cloud-commons/src/test/java/org/springframework/cloud/client/hypermedia/CloudHypermediaAutoConfigurationIntegrationTests.java +++ b/spring-cloud-commons/src/test/java/org/springframework/cloud/client/hypermedia/CloudHypermediaAutoConfigurationIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2020 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -53,7 +53,7 @@ public void picksUpHypermediaProperties() { } @Test - public void doesNotCreateCloudHypermediaPropertiesifNotActive() { + public void doesNotCreateCloudHypermediaPropertiesIfNotActive() { try (ConfigurableApplicationContext context = getApplicationContext(Config.class)) { then(context.getBeanNamesForType(CloudHypermediaProperties.class)).hasSize(0); @@ -71,7 +71,7 @@ public void doesNotRegisterResourceRefresherIfNoDiscoveredResourceIsDefined() { } @Test - public void registersResourceRefresherIfDiscoverredResourceIsDefined() { + public void registersResourceRefresherIfDiscoveredResourceIsDefined() { try (ConfigurableApplicationContext context = getApplicationContext(ConfigWithRemoteResource.class)) {