[jboss-cvs] jboss-seam/src/main/org/jboss/seam/deployment ...
Gavin King
gavin.king at jboss.com
Thu Nov 16 12:25:05 EST 2006
User: gavin
Date: 06/11/16 12:25:05
Modified: src/main/org/jboss/seam/deployment ComponentScanner.java
NamespaceScanner.java Scanner.java
Log:
put everything in its proper namespace JBSEAM-259
Revision Changes Path
1.2 +1 -0 jboss-seam/src/main/org/jboss/seam/deployment/ComponentScanner.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ComponentScanner.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/deployment/ComponentScanner.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ComponentScanner.java 15 Nov 2006 06:12:46 -0000 1.1
+++ ComponentScanner.java 16 Nov 2006 17:25:05 -0000 1.2
@@ -40,6 +40,7 @@
return classes;
}
+ @Override
protected void handleItem(String name)
{
if (name.endsWith(".class") &&
1.2 +2 -9 jboss-seam/src/main/org/jboss/seam/deployment/NamespaceScanner.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NamespaceScanner.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/deployment/NamespaceScanner.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- NamespaceScanner.java 15 Nov 2006 06:12:46 -0000 1.1
+++ NamespaceScanner.java 16 Nov 2006 17:25:05 -0000 1.2
@@ -1,21 +1,13 @@
package org.jboss.seam.deployment;
-import org.jboss.seam.annotations.Namespace;
-
-import java.io.IOException;
import java.util.HashSet;
import java.util.Set;
-import javassist.bytecode.ClassFile;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import org.jboss.seam.annotations.Namespace;
public class NamespaceScanner
extends Scanner
{
- private static final Log log = LogFactory.getLog(NamespaceScanner.class);
-
private Set<Package> packages;
public NamespaceScanner(String resourceName)
@@ -46,6 +38,7 @@
.replace('/', '.').replace('\\', '.');
}
+ @Override
protected void handleItem(String name)
{
if (name.endsWith("/package-info.class")) {
1.18 +1 -4 jboss-seam/src/main/org/jboss/seam/deployment/Scanner.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Scanner.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/deployment/Scanner.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- Scanner.java 15 Nov 2006 06:12:46 -0000 1.17
+++ Scanner.java 16 Nov 2006 17:25:05 -0000 1.18
@@ -1,4 +1,4 @@
-//$Id: Scanner.java,v 1.17 2006/11/15 06:12:46 nrichards Exp $
+//$Id: Scanner.java,v 1.18 2006/11/16 17:25:05 gavin Exp $
package org.jboss.seam.deployment;
import java.io.DataInputStream;
@@ -9,8 +9,6 @@
import java.net.URL;
import java.net.URLDecoder;
import java.util.Enumeration;
-import java.util.HashSet;
-import java.util.Set;
import java.util.zip.ZipEntry;
import java.util.zip.ZipException;
import java.util.zip.ZipFile;
@@ -20,7 +18,6 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.jboss.seam.annotations.Name;
public abstract class Scanner
{
More information about the jboss-cvs-commits
mailing list