diff --git a/org.springframework.core/src/main/java/org/springframework/core/env/AbstractEnvironment.java b/org.springframework.core/src/main/java/org/springframework/core/env/AbstractEnvironment.java index b7c820ac7f0..4dbd78e5c15 100644 --- a/org.springframework.core/src/main/java/org/springframework/core/env/AbstractEnvironment.java +++ b/org.springframework.core/src/main/java/org/springframework/core/env/AbstractEnvironment.java @@ -59,7 +59,7 @@ public abstract class AbstractEnvironment implements ConfigurableEnvironment { /** * Name of reserved default profile name: {@value}. If no default profile names are - * explicitly and no active profile names are explictly set, this profile will + * explicitly and no active profile names are explicitly set, this profile will * automatically be activated by default. * @see #getReservedDefaultProfiles * @see ConfigurableEnvironment#setDefaultProfiles diff --git a/org.springframework.core/src/main/java/org/springframework/util/StringUtils.java b/org.springframework.core/src/main/java/org/springframework/util/StringUtils.java index c2a05fad386..e86ab49793a 100644 --- a/org.springframework.core/src/main/java/org/springframework/util/StringUtils.java +++ b/org.springframework.core/src/main/java/org/springframework/util/StringUtils.java @@ -747,7 +747,7 @@ public abstract class StringUtils { * array elements only included once. *
The order of elements in the original arrays is preserved
* (with the exception of overlapping elements, which are only
- * included on their first occurence).
+ * included on their first occurrence).
* @param array1 the first array (can be null)
* @param array2 the second array (can be null)
* @return the new array (null if both given arrays were null)