diff --git a/entitymanager/src/main/java/org/hibernate/ejb/packaging/PersistenceXmlLoader.java b/entitymanager/src/main/java/org/hibernate/ejb/packaging/PersistenceXmlLoader.java index 8b35fd22ef..613b0e79ae 100644 --- a/entitymanager/src/main/java/org/hibernate/ejb/packaging/PersistenceXmlLoader.java +++ b/entitymanager/src/main/java/org/hibernate/ejb/packaging/PersistenceXmlLoader.java @@ -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; diff --git a/entitymanager/src/main/java/org/hibernate/ejb/util/ConfigurationHelper.java b/entitymanager/src/main/java/org/hibernate/ejb/util/ConfigurationHelper.java index 9f02135195..ec20d212dd 100644 --- a/entitymanager/src/main/java/org/hibernate/ejb/util/ConfigurationHelper.java +++ b/entitymanager/src/main/java/org/hibernate/ejb/util/ConfigurationHelper.java @@ -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.util; import java.util.Map; @@ -42,7 +62,9 @@ public abstract class ConfigurationHelper { } private static FlushMode getFlushMode(String flushMode) { - if (flushMode == null) return null; + if (flushMode == null) { + return null; + } flushMode = flushMode.toUpperCase(); return FlushMode.parse( flushMode ); } diff --git a/entitymanager/src/main/java/org/hibernate/ejb/util/LogHelper.java b/entitymanager/src/main/java/org/hibernate/ejb/util/LogHelper.java index a6be01e1f8..4ca48627b5 100644 --- a/entitymanager/src/main/java/org/hibernate/ejb/util/LogHelper.java +++ b/entitymanager/src/main/java/org/hibernate/ejb/util/LogHelper.java @@ -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.util; import java.net.URL; diff --git a/entitymanager/src/main/java/org/hibernate/ejb/util/NamingHelper.java b/entitymanager/src/main/java/org/hibernate/ejb/util/NamingHelper.java index cd869933cf..dc17fa4fd2 100644 --- a/entitymanager/src/main/java/org/hibernate/ejb/util/NamingHelper.java +++ b/entitymanager/src/main/java/org/hibernate/ejb/util/NamingHelper.java @@ -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.util; import javax.naming.Context;