diff --git a/org.springframework.core/.classpath b/org.springframework.core/.classpath
index 8778e65851..b46fdd1514 100644
--- a/org.springframework.core/.classpath
+++ b/org.springframework.core/.classpath
@@ -8,12 +8,11 @@
-
+
-
diff --git a/org.springframework.core/src/main/java/org/springframework/core/io/VfsUtils.java b/org.springframework.core/src/main/java/org/springframework/core/io/VfsUtils.java
index 64069bd6f0..a9014540ba 100644
--- a/org.springframework.core/src/main/java/org/springframework/core/io/VfsUtils.java
+++ b/org.springframework.core/src/main/java/org/springframework/core/io/VfsUtils.java
@@ -34,11 +34,13 @@ import org.springframework.util.ReflectionUtils;
* Utility for detecting the JBoss VFS version available in the classpath.
* JBoss AS 5+ uses VFS 2.x (package org.jboss.virtual
) while JBoss AS 6+ uses
* VFS 3.x (package org.jboss.vfs
).
+ *
*
* Thanks go to Marius Bogoevici for the initial patch.
+ *
+ * Note: This is an internal class and should not be used outside the framework.
*
* @author Costin Leau
- *
*/
public abstract class VfsUtils {
@@ -228,14 +230,16 @@ public abstract class VfsUtils {
}
}
- protected static Object getRoot(URL url) throws IOException {
- return invokeVfsMethod(VFS_METHOD_GET_ROOT_URL, null, url);
- }
-
static Object getRoot(URI url) throws IOException {
return invokeVfsMethod(VFS_METHOD_GET_ROOT_URI, null, url);
}
+ // protected methods used by the support sub-package
+
+ protected static Object getRoot(URL url) throws IOException {
+ return invokeVfsMethod(VFS_METHOD_GET_ROOT_URL, null, url);
+ }
+
protected static Object doGetVisitorAttribute() {
return ReflectionUtils.getField(VISITOR_ATTRIBUTES_FIELD_RECURSE, null);
}
diff --git a/org.springframework.core/src/main/java/org/springframework/core/io/support/VfsPatternUtils.java b/org.springframework.core/src/main/java/org/springframework/core/io/support/VfsPatternUtils.java
index 59924b698a..8211a595b6 100644
--- a/org.springframework.core/src/main/java/org/springframework/core/io/support/VfsPatternUtils.java
+++ b/org.springframework.core/src/main/java/org/springframework/core/io/support/VfsPatternUtils.java
@@ -24,6 +24,9 @@ import java.net.URL;
import org.springframework.core.io.VfsUtils;
/**
+ * Artificial class used for accessing the {@link VfsUtils} methods without exposing them
+ * to the entire world.
+ *
* @author Costin Leau
*
*/