Skip to content

Commit 34eb4db

Browse files
committed
Update Javadoc for supported JBoss VFS version
1 parent 6aaae7e commit 34eb4db

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

spring-core/src/main/java/org/springframework/core/io/VfsResource.java

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2014 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,8 +26,11 @@
2626
import org.springframework.util.Assert;
2727

2828
/**
29-
* VFS based {@link Resource} implementation.
30-
* Supports the corresponding VFS API versions on JBoss AS 5.x as well as 6.x and 7.x.
29+
* JBoss VFS based {@link Resource} implementation.
30+
*
31+
* <p>As of Spring 4.0, this class supports VFS 3.x on JBoss AS 6+ (package
32+
* {@code org.jboss.vfs}) and is in particular compatible with JBoss AS 7 and
33+
* WildFly 8.
3134
*
3235
* @author Ales Justin
3336
* @author Juergen Hoeller
@@ -40,9 +43,9 @@ public class VfsResource extends AbstractResource {
4043
private final Object resource;
4144

4245

43-
public VfsResource(Object resources) {
44-
Assert.notNull(resources, "VirtualFile must not be null");
45-
this.resource = resources;
46+
public VfsResource(Object resource) {
47+
Assert.notNull(resource, "VirtualFile must not be null");
48+
this.resource = resource;
4649
}
4750

4851

spring-core/src/main/java/org/springframework/core/io/VfsUtils.java

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2013 the original author or authors.
2+
* Copyright 2002-2014 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -29,8 +29,10 @@
2929

3030
/**
3131
* Utility for detecting and accessing JBoss VFS in the classpath.
32-
* As of Spring 4.0, supports VFS 3.x on JBoss AS 6+ (package {@code org.jboss.vfs})
33-
* and is in particular compatible with JBoss AS 7 and WildFly 8.
32+
*
33+
* <p>As of Spring 4.0, this class supports VFS 3.x on JBoss AS 6+ (package
34+
* {@code org.jboss.vfs}) and is in particular compatible with JBoss AS 7 and
35+
* WildFly 8.
3436
*
3537
* <p>Thanks go to Marius Bogoevici for the initial patch.
3638
* <b>Note:</b> This is an internal class and should not be used outside the framework.

0 commit comments

Comments
 (0)