diff --git a/spring-cloud-spring-service-connector/src/main/java/org/springframework/cloud/config/java/CloudScan.java b/spring-cloud-spring-service-connector/src/main/java/org/springframework/cloud/config/java/CloudScan.java index 813aee7..813d3eb 100644 --- a/spring-cloud-spring-service-connector/src/main/java/org/springframework/cloud/config/java/CloudScan.java +++ b/spring-cloud-spring-service-connector/src/main/java/org/springframework/cloud/config/java/CloudScan.java @@ -28,7 +28,7 @@ import org.springframework.context.annotation.Import; * spirit, scans services bound to the app and creates a bean for each. It also creates a bean * of {@link ApplicationInstanceInfo} class to expose information about the application instance. * - * Upon service scanning, if there is a unique bean of for service type, you can inject it + * Upon service scanning, if there is a unique bean for service type, you can inject it * using the following code (shows Redis, but the same scheme works for all services): *
  * @Autowired RedisConnectionFactory redisConnectionFactory;
diff --git a/spring-cloud-spring-service-connector/src/main/java/org/springframework/cloud/config/java/ServiceScan.java b/spring-cloud-spring-service-connector/src/main/java/org/springframework/cloud/config/java/ServiceScan.java
index c61cded..8dc16ba 100644
--- a/spring-cloud-spring-service-connector/src/main/java/org/springframework/cloud/config/java/ServiceScan.java
+++ b/spring-cloud-spring-service-connector/src/main/java/org/springframework/cloud/config/java/ServiceScan.java
@@ -25,7 +25,7 @@ import org.springframework.context.annotation.Import;
  * with the @Component classes and creates a bean for each. @ServiceScan, in the same
  * spirit, scans services bound to the app and creates a bean for each. 
  * 
- * Upon service scanning, if there is a unique bean of for service type, you can inject it 
+ * Upon service scanning, if there is a unique bean for service type, you can inject it
  * using the following code (shows Redis, but the same scheme works for all services):
  * 
  * @Autowired RedisConnectionFactory redisConnectionFactory;