[jboss-cvs] JBossAS SVN: r73789 - projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/org/jboss/deployers/vfs/spi/deployer.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu May 29 06:52:56 EDT 2008


Author: alesj
Date: 2008-05-29 06:52:56 -0400 (Thu, 29 May 2008)
New Revision: 73789

Modified:
   projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/org/jboss/deployers/vfs/spi/deployer/SchemaResolverDeployer.java
Log:
Back compatibility issue.

Modified: projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/org/jboss/deployers/vfs/spi/deployer/SchemaResolverDeployer.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/org/jboss/deployers/vfs/spi/deployer/SchemaResolverDeployer.java	2008-05-29 10:42:00 UTC (rev 73788)
+++ projects/jboss-deployers/trunk/deployers-vfs-spi/src/main/org/jboss/deployers/vfs/spi/deployer/SchemaResolverDeployer.java	2008-05-29 10:52:56 UTC (rev 73789)
@@ -115,6 +115,18 @@
 
    protected T parse(VFSDeploymentUnit unit, VirtualFile file, T root) throws Exception
    {
+      return parse(file);
+   }
+
+   /**
+    * Parse the file.
+    *
+    * @param file the virtual file to parse
+    * @return new metadata instance
+    * @throws Exception for any error
+    */
+   protected T parse(VirtualFile file) throws Exception
+   {
       if (file == null)
          throw new IllegalArgumentException("Null file");
       return getHelper().parse(file);




More information about the jboss-cvs-commits mailing list