[Jboss-cvs] JBossAS SVN: r56727 - in projects/microcontainer/trunk: container/src/main/org/jboss/virtual container/src/main/org/jboss/virtual/plugins/context container/src/main/org/jboss/virtual/plugins/context/file container/src/main/org/jboss/virtual/plugins/context/jar container/src/main/org/jboss/virtual/spi deployers/src/main/org/jboss/deployers/plugins/structure

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Sep 11 08:16:08 EDT 2006


Author: adrian at jboss.org
Date: 2006-09-11 08:15:54 -0400 (Mon, 11 Sep 2006)
New Revision: 56727

Modified:
   projects/microcontainer/trunk/container/src/main/org/jboss/virtual/VFS.java
   projects/microcontainer/trunk/container/src/main/org/jboss/virtual/VFSUtils.java
   projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/AbstractURIHandler.java
   projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/AbstractVFSContext.java
   projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/file/FileHandler.java
   projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/file/FileSystemContext.java
   projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/file/LinkHandler.java
   projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/jar/JarContext.java
   projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/jar/JarContextFactory.java
   projects/microcontainer/trunk/container/src/main/org/jboss/virtual/spi/VFSContextFactory.java
   projects/microcontainer/trunk/container/src/main/org/jboss/virtual/spi/VirtualFileHandler.java
   projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/AbstractDeploymentContext.java
Log:
Sourcecode tidyup and javadoc fixes.

Modified: projects/microcontainer/trunk/container/src/main/org/jboss/virtual/VFS.java
===================================================================
--- projects/microcontainer/trunk/container/src/main/org/jboss/virtual/VFS.java	2006-09-11 12:11:37 UTC (rev 56726)
+++ projects/microcontainer/trunk/container/src/main/org/jboss/virtual/VFS.java	2006-09-11 12:15:54 UTC (rev 56727)
@@ -23,7 +23,6 @@
 
 import java.io.IOException;
 import java.net.URI;
-import java.net.URISyntaxException;
 import java.net.URL;
 import java.util.List;
 
@@ -51,7 +50,6 @@
     * @param rootURL the root url
     * @return the virtual file system
     * @throws IOException if there is a problem accessing the VFS
-    * @throws URISyntaxException if the URL is not a valid URI
     * @throws IllegalArgumentException if the rootURL is null
     */
    public static VFS getVFS(URL rootURL) throws IOException

Modified: projects/microcontainer/trunk/container/src/main/org/jboss/virtual/VFSUtils.java
===================================================================
--- projects/microcontainer/trunk/container/src/main/org/jboss/virtual/VFSUtils.java	2006-09-11 12:11:37 UTC (rev 56726)
+++ projects/microcontainer/trunk/container/src/main/org/jboss/virtual/VFSUtils.java	2006-09-11 12:15:54 UTC (rev 56727)
@@ -266,9 +266,11 @@
     * from the name suffix.
     * 
     * @param is - input stream to the link file contents
-    * @param name - the name of the virtual file representing the link 
+    * @param name - the name of the virtual file representing the link
+    * @param props the propertes 
     * @return a list of the links read from the stream
     * @throws IOException on failure to read/parse the stream
+    * @throws URISyntaxException for an error parsing a URI
     */
    public static List<LinkInfo> readLinkInfo(InputStream is, String name, Properties props)
       throws IOException, URISyntaxException
@@ -284,10 +286,11 @@
    /**
     * Parse a properties link file
     * 
-    * @param is
-    * @param info
-    * @throws IOException
-    * @throws URISyntaxException 
+    * @param is - input stream to the link file contents
+    * @param info the link infos
+    * @param props the propertes 
+    * @throws IOException on failure to read/parse the stream
+    * @throws URISyntaxException for an error parsing a URI
     */
    public static void parseLinkProperties(InputStream is, List<LinkInfo> info, Properties props)
       throws IOException, URISyntaxException

Modified: projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/AbstractURIHandler.java
===================================================================
--- projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/AbstractURIHandler.java	2006-09-11 12:11:37 UTC (rev 56726)
+++ projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/AbstractURIHandler.java	2006-09-11 12:15:54 UTC (rev 56727)
@@ -48,7 +48,7 @@
     * 
     * @param context the context
     * @param parent the parent
-    * @param url the url
+    * @param uri the uri
     * @param name the name
     * @throws IllegalArgumentException for a null context, vfsPath or url
     */

Modified: projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/AbstractVFSContext.java
===================================================================
--- projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/AbstractVFSContext.java	2006-09-11 12:11:37 UTC (rev 56726)
+++ projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/AbstractVFSContext.java	2006-09-11 12:15:54 UTC (rev 56727)
@@ -72,7 +72,7 @@
    /**
     * Create a new AbstractVFSContext.
     * 
-    * @param rootURI the root url
+    * @param rootURL the root url
     * @throws URISyntaxException 
     * @throws IllegalArgumentException if rootURI is null
     */

Modified: projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/file/FileHandler.java
===================================================================
--- projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/file/FileHandler.java	2006-09-11 12:11:37 UTC (rev 56726)
+++ projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/file/FileHandler.java	2006-09-11 12:15:54 UTC (rev 56727)
@@ -74,7 +74,7 @@
     * @param context the context
     * @param parent the parent
     * @param file the file
-    * @param url the url
+    * @param uri the uri
     * @throws IOException for an error accessing the file system
     * @throws IllegalArgumentException for a null context, uri
     */

Modified: projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/file/FileSystemContext.java
===================================================================
--- projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/file/FileSystemContext.java	2006-09-11 12:11:37 UTC (rev 56726)
+++ projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/file/FileSystemContext.java	2006-09-11 12:15:54 UTC (rev 56727)
@@ -99,6 +99,7 @@
     * 
     * @param rootURL the root url
     * @throws IOException for an error accessing the file system
+    * @throws URISyntaxException for an error parsing the uri
     */
    public FileSystemContext(URL rootURL) throws IOException, URISyntaxException
    {
@@ -106,9 +107,10 @@
    }
 
    /**
+    * Create a new FileSystemContext.
     * 
-    * @param rootURI
-    * @throws IOException
+    * @param rootURI the root uri
+    * @throws IOException for an error accessing the file system
     */
    public FileSystemContext(URI rootURI) throws IOException
    {
@@ -121,6 +123,7 @@
     * @param file the root file
     * @throws IOException for an error accessing the file system
     * @throws IllegalArgumentException for a null file
+    * @throws URISyntaxException for an error parsing the uri
     */
    public FileSystemContext(File file) throws IOException, URISyntaxException
    {
@@ -182,7 +185,7 @@
     * 
     * @param parent the parent
     * @param file the file
-    * @param url the url
+    * @param uri the uri
     * @return the handler
     * @throws IOException for any error accessing the file system
     * @throws IllegalArgumentException for a null file

Modified: projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/file/LinkHandler.java
===================================================================
--- projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/file/LinkHandler.java	2006-09-11 12:11:37 UTC (rev 56726)
+++ projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/file/LinkHandler.java	2006-09-11 12:15:54 UTC (rev 56727)
@@ -56,8 +56,9 @@
     * 
     * @param context the context
     * @param parent the parent
-    * @param file the file
     * @param uri the uri
+    * @param name the name
+    * @param links the links
     * @throws IOException for an error accessing the file system
     * @throws IllegalArgumentException for a null context, url
     */

Modified: projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/jar/JarContext.java
===================================================================
--- projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/jar/JarContext.java	2006-09-11 12:11:37 UTC (rev 56726)
+++ projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/jar/JarContext.java	2006-09-11 12:15:54 UTC (rev 56727)
@@ -49,6 +49,7 @@
     * 
     * @param rootURL the root url
     * @throws IOException for an error accessing the file system
+    * @throws URISyntaxException for an error parsing the URI
     */
    public JarContext(URL rootURL) throws IOException, URISyntaxException
    {

Modified: projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/jar/JarContextFactory.java
===================================================================
--- projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/jar/JarContextFactory.java	2006-09-11 12:11:37 UTC (rev 56726)
+++ projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/jar/JarContextFactory.java	2006-09-11 12:15:54 UTC (rev 56727)
@@ -21,13 +21,12 @@
  */
 package org.jboss.virtual.plugins.context.jar;
 
+import java.io.IOException;
 import java.net.MalformedURLException;
 import java.net.URI;
 import java.net.URISyntaxException;
 import java.net.URL;
-import java.io.IOException;
 
-import org.jboss.virtual.plugins.context.file.FileSystemContext;
 import org.jboss.virtual.spi.VFSContext;
 import org.jboss.virtual.spi.VFSContextFactory;
 

Modified: projects/microcontainer/trunk/container/src/main/org/jboss/virtual/spi/VFSContextFactory.java
===================================================================
--- projects/microcontainer/trunk/container/src/main/org/jboss/virtual/spi/VFSContextFactory.java	2006-09-11 12:11:37 UTC (rev 56726)
+++ projects/microcontainer/trunk/container/src/main/org/jboss/virtual/spi/VFSContextFactory.java	2006-09-11 12:15:54 UTC (rev 56727)
@@ -47,7 +47,6 @@
     * @param rootURL - the URL for the root of the virtual context
     * @return the vfs context
     * @throws IOException - thrown if the root cannot be opened/accessed
-    * @throws URISyntaxException - thrown if the URL cannot be converted to a URI
     */
    VFSContext getVFS(URL rootURL) throws IOException;
    /**

Modified: projects/microcontainer/trunk/container/src/main/org/jboss/virtual/spi/VirtualFileHandler.java
===================================================================
--- projects/microcontainer/trunk/container/src/main/org/jboss/virtual/spi/VirtualFileHandler.java	2006-09-11 12:11:37 UTC (rev 56726)
+++ projects/microcontainer/trunk/container/src/main/org/jboss/virtual/spi/VirtualFileHandler.java	2006-09-11 12:15:54 UTC (rev 56727)
@@ -24,7 +24,6 @@
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.Serializable;
-import java.net.MalformedURLException;
 import java.net.URI;
 import java.net.URISyntaxException;
 import java.util.List;
@@ -58,8 +57,7 @@
     * Get the VF URL (file://root/org/jboss/X.java)
     * 
     * @return the full URL to the VF in the VFS.
-    * @throws MalformedURLException if a url cannot be parsed
-    * @throws URISyntaxException 
+    * @throws URISyntaxException for an error parsing the URI 
     */
    URI toURI() throws URISyntaxException;
 

Modified: projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/AbstractDeploymentContext.java
===================================================================
--- projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/AbstractDeploymentContext.java	2006-09-11 12:11:37 UTC (rev 56726)
+++ projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/AbstractDeploymentContext.java	2006-09-11 12:15:54 UTC (rev 56727)
@@ -23,7 +23,6 @@
 
 import java.io.IOException;
 import java.io.InputStream;
-import java.net.MalformedURLException;
 import java.net.URL;
 import java.util.Collections;
 import java.util.List;




More information about the jboss-cvs-commits mailing list