File tree 2 files changed +14
-9
lines changed
spring-core/src/main/java/org/springframework/core/io
2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2012 the original author or authors.
2
+ * Copyright 2002-2014 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
26
26
import org .springframework .util .Assert ;
27
27
28
28
/**
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.
31
34
*
32
35
* @author Ales Justin
33
36
* @author Juergen Hoeller
@@ -40,9 +43,9 @@ public class VfsResource extends AbstractResource {
40
43
private final Object resource ;
41
44
42
45
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 ;
46
49
}
47
50
48
51
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2013 the original author or authors.
2
+ * Copyright 2002-2014 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
29
29
30
30
/**
31
31
* 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.
34
36
*
35
37
* <p>Thanks go to Marius Bogoevici for the initial patch.
36
38
* <b>Note:</b> This is an internal class and should not be used outside the framework.
You can’t perform that action at this time.
0 commit comments