[seam-commits] Seam SVN: r9591 - trunk/src/main/org/jboss/seam/deployment.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Nov 18 06:25:56 EST 2008


Author: pete.muir at jboss.org
Date: 2008-11-18 06:25:56 -0500 (Tue, 18 Nov 2008)
New Revision: 9591

Modified:
   trunk/src/main/org/jboss/seam/deployment/AbstractScanner.java
   trunk/src/main/org/jboss/seam/deployment/URLScanner.java
Log:
JBSEAM-3699, preserve backwards compatibility

Modified: trunk/src/main/org/jboss/seam/deployment/AbstractScanner.java
===================================================================
--- trunk/src/main/org/jboss/seam/deployment/AbstractScanner.java	2008-11-18 11:21:34 UTC (rev 9590)
+++ trunk/src/main/org/jboss/seam/deployment/AbstractScanner.java	2008-11-18 11:25:56 UTC (rev 9591)
@@ -1,6 +1,7 @@
 package org.jboss.seam.deployment;
 
 import java.io.DataInputStream;
+import java.io.File;
 import java.io.IOException;
 import java.io.InputStream;
 import java.lang.annotation.Annotation;
@@ -193,5 +194,13 @@
    {
       return new Handler(name, deploymentStrategy.getDeploymentHandlers().entrySet(), deploymentStrategy.getClassLoader()).handle();
    }
+   
+   /**
+    * Default impl of scanDirectories with exclusions for backwards compatibility
+    */
+   public void scanDirectories(File[] directories, File[] excludedDirectories)
+   {
+      scanDirectories(directories);
+   }
 
 }

Modified: trunk/src/main/org/jboss/seam/deployment/URLScanner.java
===================================================================
--- trunk/src/main/org/jboss/seam/deployment/URLScanner.java	2008-11-18 11:21:34 UTC (rev 9590)
+++ trunk/src/main/org/jboss/seam/deployment/URLScanner.java	2008-11-18 11:25:56 UTC (rev 9591)
@@ -40,6 +40,7 @@
       scanDirectories(directories, new File[0]);
    }
    
+   @Override
    public void scanDirectories(File[] directories, File[] excludedDirectories)
    {
       for (File directory : directories)




More information about the seam-commits mailing list