diff --git a/org.springframework.core/src/main/java/org/springframework/core/io/support/PathMatchingResourcePatternResolver.java b/org.springframework.core/src/main/java/org/springframework/core/io/support/PathMatchingResourcePatternResolver.java
index 342e1e0956c..24eaa7f4696 100644
--- a/org.springframework.core/src/main/java/org/springframework/core/io/support/PathMatchingResourcePatternResolver.java
+++ b/org.springframework.core/src/main/java/org/springframework/core/io/support/PathMatchingResourcePatternResolver.java
@@ -354,7 +354,7 @@ public class PathMatchingResourcePatternResolver implements ResourcePatternResol
* resolving the root directory location to a java.io.File
* and passing it into retrieveMatchingFiles, with the
* remainder of the location as pattern.
- *
Will return "/WEB-INF" for the pattern "/WEB-INF/*.xml", + *
Will return "/WEB-INF/" for the pattern "/WEB-INF/*.xml", * for example. * @param location the location to check * @return the part of the location that denotes the root directory