Skip to content

Commit

Permalink
Update Javadoc for supported JBoss VFS version
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Mar 28, 2014
1 parent 6aaae7e commit 34eb4db
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2012 the original author or authors.
* Copyright 2002-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -26,8 +26,11 @@
import org.springframework.util.Assert;

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


public VfsResource(Object resources) {
Assert.notNull(resources, "VirtualFile must not be null");
this.resource = resources;
public VfsResource(Object resource) {
Assert.notNull(resource, "VirtualFile must not be null");
this.resource = resource;
}


Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2013 the original author or authors.
* Copyright 2002-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -29,8 +29,10 @@

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

0 comments on commit 34eb4db

Please sign in to comment.