[jboss-cvs] JBossAS SVN: r101553 - projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/structure/explicit.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Feb 26 09:32:21 EST 2010


Author: adrian at jboss.org
Date: 2010-02-26 09:32:21 -0500 (Fri, 26 Feb 2010)
New Revision: 101553

Modified:
   projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/structure/explicit/DeclaredStructure.java
Log:
Javadoc tidyup and sanity check

Modified: projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/structure/explicit/DeclaredStructure.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/structure/explicit/DeclaredStructure.java	2010-02-26 14:26:31 UTC (rev 101552)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/structure/explicit/DeclaredStructure.java	2010-02-26 14:32:21 UTC (rev 101553)
@@ -57,10 +57,14 @@
    
    /**
     * Set the relative order to 0 by default.
+    * 
+    * @param suffixes the suffixes
     */
    public DeclaredStructure(Set<String> suffixes)
    {
       setRelativeOrder(0);
+      if (suffixes == null)
+         throw new IllegalArgumentException("Null suffixes");
       this.suffixes = suffixes;
    }
    




More information about the jboss-cvs-commits mailing list