From f5e1bad900b2de0486e74820d9e5c079d717b3c2 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 19 Mar 2020 13:53:29 +0000 Subject: [PATCH] Polish --- .../java/org/springframework/boot/cloud/CloudPlatform.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/cloud/CloudPlatform.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/cloud/CloudPlatform.java index 0ca7a0f82e..99fe37826e 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/cloud/CloudPlatform.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/cloud/CloudPlatform.java @@ -143,7 +143,7 @@ public enum CloudPlatform { } /** - * Determines is the platform is auto-detected by looking ofr platform-specific + * Determines if the platform is auto-detected by looking for platform-specific * environment variables. * @param environment the environment * @return if the platform is auto-detected. @@ -160,7 +160,7 @@ public enum CloudPlatform { } /** - * Returns the active {@link CloudPlatform} or {@code null} if one cannot be deduced. + * Returns the active {@link CloudPlatform} or {@code null} if one is not active. * @param environment the environment * @return the {@link CloudPlatform} or {@code null} */