From 13b7f1a31be9754a2c0395cbadc177ccd58987f2 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Wed, 1 Jun 2011 12:55:26 +0000 Subject: [PATCH] fixed typos --- .../java/org/springframework/core/env/AbstractEnvironment.java | 2 +- .../src/main/java/org/springframework/util/StringUtils.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)