[hibernate-commits] Hibernate SVN: r17298 - core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Thu Aug 13 14:59:30 EDT 2009


Author: steve.ebersole at jboss.com
Date: 2009-08-13 14:59:30 -0400 (Thu, 13 Aug 2009)
New Revision: 17298

Modified:
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/AbstractJarVisitor.java
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/ClassFilter.java
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/Entry.java
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/ExplodedJarVisitor.java
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/FileFilter.java
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/FileZippedJarVisitor.java
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/Filter.java
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/InputStreamZippedJarVisitor.java
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/JarProtocolVisitor.java
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/JarVisitor.java
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/JarVisitorFactory.java
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/JavaElementFilter.java
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/NamedInputStream.java
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/NativeScanner.java
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/PackageFilter.java
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/PersistenceMetadata.java
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/Scanner.java
   core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/XmlHelper.java
Log:
copyright notice

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/AbstractJarVisitor.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/AbstractJarVisitor.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/AbstractJarVisitor.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,3 +1,24 @@
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
 import java.io.DataInputStream;
@@ -3,5 +24,4 @@
 import java.io.IOException;
 import java.io.InputStream;
-import java.net.MalformedURLException;
 import java.net.URL;
 import java.util.ArrayList;
@@ -19,12 +39,13 @@
  * Parse a JAR of any form (zip file, exploded directory, ...)
  * apply a set of filters (File filter, Class filter, Package filter)
  * and return the appropriate matching sets of elements
- * 
  *
  * @author Emmanuel Bernard
  */
-//TODO shortcut when filters are null or empty
 public abstract class AbstractJarVisitor implements JarVisitor {
+
+	//TODO shortcut when filters are null or empty
+
 	private final Logger log = LoggerFactory.getLogger( AbstractJarVisitor.class );
 	protected String unqualifiedJarName;
 	protected URL jarUrl;

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/ClassFilter.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/ClassFilter.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/ClassFilter.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,4 +1,24 @@
-//$
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
 /**

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/Entry.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/Entry.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/Entry.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,4 +1,24 @@
-//$
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
 import java.io.InputStream;

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/ExplodedJarVisitor.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/ExplodedJarVisitor.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/ExplodedJarVisitor.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,4 +1,24 @@
-//$Id$
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
 import java.io.BufferedInputStream;

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/FileFilter.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/FileFilter.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/FileFilter.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,4 +1,24 @@
-//$
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
 /**

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/FileZippedJarVisitor.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/FileZippedJarVisitor.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/FileZippedJarVisitor.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,11 +1,30 @@
-//$Id$
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
 import java.io.BufferedInputStream;
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.ByteArrayInputStream;
-import java.io.File;
 import java.net.URL;
 import java.net.URISyntaxException;
 import java.util.Enumeration;

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/Filter.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/Filter.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/Filter.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,4 +1,24 @@
-//$
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
 /**

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/InputStreamZippedJarVisitor.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/InputStreamZippedJarVisitor.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/InputStreamZippedJarVisitor.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,4 +1,24 @@
-//$Id$
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
 import java.io.ByteArrayInputStream;

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/JarProtocolVisitor.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/JarProtocolVisitor.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/JarProtocolVisitor.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,4 +1,24 @@
-//$
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
 import java.io.IOException;

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/JarVisitor.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/JarVisitor.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/JarVisitor.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,4 +1,24 @@
-// $Id:$
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
 import java.util.Set;
@@ -10,6 +30,8 @@
 public interface JarVisitor {
 	/**
 	 * Get the unqualified Jar name (ie wo path and wo extension)
+	 *
+	 * @return the unqualified jar name.
 	 */
 	String getUnqualifiedJarName();
 

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/JarVisitorFactory.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/JarVisitorFactory.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/JarVisitorFactory.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,4 +1,24 @@
-//$
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
 import java.io.File;

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/JavaElementFilter.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/JavaElementFilter.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/JavaElementFilter.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,4 +1,24 @@
-//$
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
 /**

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/NamedInputStream.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/NamedInputStream.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/NamedInputStream.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,4 +1,24 @@
-//$Id$
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
 import java.io.InputStream;

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/NativeScanner.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/NativeScanner.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/NativeScanner.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,3 +1,24 @@
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
 import java.io.IOException;
@@ -14,7 +35,6 @@
 import org.hibernate.AssertionFailure;
 import org.hibernate.util.ReflectHelper;
 
-
 /**
  * @author Emmanuel Bernard
  */

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/PackageFilter.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/PackageFilter.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/PackageFilter.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,4 +1,24 @@
-//$
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
 /**

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/PersistenceMetadata.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/PersistenceMetadata.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/PersistenceMetadata.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,6 +1,26 @@
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
-import java.io.InputStream;
 import java.util.ArrayList;
 import java.util.HashSet;
 import java.util.List;
@@ -15,7 +35,6 @@
  * Object used by JBoss EJB 3 for persistence.xml parsing
  *
  * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 11329 $
  */
 public class PersistenceMetadata {
 

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/Scanner.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/Scanner.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/Scanner.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,10 +1,29 @@
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
 import java.util.Set;
-import java.util.List;
 import java.net.URL;
 import java.lang.annotation.Annotation;
-import java.io.InputStream;
 
 /**
  * @author Emmanuel Bernard

Modified: core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/XmlHelper.java
===================================================================
--- core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/XmlHelper.java	2009-08-13 08:49:58 UTC (rev 17297)
+++ core/trunk/entitymanager/src/main/java/org/hibernate/ejb/packaging/XmlHelper.java	2009-08-13 18:59:30 UTC (rev 17298)
@@ -1,3 +1,24 @@
+/*
+ * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as
+ * indicated by the @author tags or express copyright attribution
+ * statements applied by the authors.  All third-party contributions are
+ * distributed under license by Red Hat Middleware LLC.
+ *
+ * This copyrighted material is made available to anyone wishing to use, modify,
+ * copy, or redistribute it subject to the terms and conditions of the GNU
+ * Lesser General Public License, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this distribution; if not, write to:
+ * Free Software Foundation, Inc.
+ * 51 Franklin Street, Fifth Floor
+ * Boston, MA  02110-1301  USA
+ */
 package org.hibernate.ejb.packaging;
 
 import java.util.ArrayList;
@@ -11,7 +32,6 @@
  * A utility class to cover up the rough bits of xml parsing
  *
  * @author <a href="mailto:chris at kimptoc.net">Chris Kimpton</a>
- * @version $Revision: 11282 $
  */
 public final class XmlHelper {
 	private XmlHelper() {
@@ -27,8 +47,7 @@
 	 */
 	public static Iterator getChildrenByTagName(
 			Element element,
-			String tagName
-	) {
+			String tagName) {
 		if ( element == null ) return null;
 		// getElementsByTagName gives the corresponding elements in the whole
 		// descendance. We want only children
@@ -101,9 +120,7 @@
 	public static Element getOptionalChild(
 			Element element,
 			String tagName,
-			Element defaultElement
-	)
-			throws Exception {
+			Element defaultElement) throws Exception {
 		Iterator goodChildren = getChildrenByTagName( element, tagName );
 
 		if ( goodChildren != null && goodChildren.hasNext() ) {
@@ -166,9 +183,7 @@
 	 */
 	public static String getUniqueChildContent(
 			Element element,
-			String tagName
-	)
-			throws Exception {
+			String tagName) throws Exception {
 		return getElementContent( getUniqueChild( element, tagName ) );
 	}
 
@@ -181,9 +196,7 @@
 	 */
 	public static String getOptionalChildContent(
 			Element element,
-			String tagName
-	)
-			throws Exception {
+			String tagName) throws Exception {
 		return getElementContent( getOptionalChild( element, tagName ) );
 	}
 



More information about the hibernate-commits mailing list