/*
 *  This file is subject to the terms and conditions defined in file 'LICENSE.md',
 *  which is part of this source code package.
 */

/*
 *  This file is subject to the terms and conditions defined in file 'LICENSE.md',
 *  which is part of this source code package.
 */

/*
 *  This file is subject to the terms and conditions defined in file 'LICENSE.md',
 *  which is part of this source code package.
 */

/*
 *  This file is subject to the terms and conditions defined in file 'LICENSE.md',
 *  which is part of this source code package.
 */

/*
 *  This file is subject to the terms and conditions defined in file 'LICENSE.md',
 *  which is part of this source code package.
 */

/*
 *  This file is subject to the terms and conditions defined in file 'LICENSE.md',
 *  which is part of this source code package.
 */

/*
 *  This file is subject to the terms and conditions defined in file 'LICENSE.md',
 *  which is part of this source code package.
 */

package com.greendot.db.dao.jpa;

import com.greendot.db.jpa.core.AbstractMutatingEntityDao;
import com.greendot.db.dao.ProductDao;
import com.greendot.entity.Product;
import org.springframework.util.Assert;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 * @author matt.d.vickery@greendotsoftware.co.uk
 * @since 10/25/16.
 */
public class JpaProductDao extends AbstractMutatingEntityDao<Product, Long>
        implements ProductDao<Product, Long> {

    public JpaProductDao() {

        super(Product.class, Long.class);
    }

    @PersistenceContext(name = "greendot-jpa-db-test")
    @Override
    public void setEntityManager(final EntityManager entityManager) {

        Assert.notNull(entityManager, "Mandatory argument 'entityManager' is missing.");
        super.setEntityManager(entityManager);
    }
}
@@ -1,832 +1,4 @@
-/*%0A *  This file is subject to the terms and conditions defined in file 'LICENSE.md',%0A *  which is part of this source code package.%0A */%0A%0A/*%0A *  This file is subject to the terms and conditions defined in file 'LICENSE.md',%0A *  which is part of this source code package.%0A */%0A%0A/*%0A *  This file is subject to the terms and conditions defined in file 'LICENSE.md',%0A *  which is part of this source code package.%0A */%0A%0A/*%0A *  This file is subject to the terms and conditions defined in file 'LICENSE.md',%0A *  which is part of this source code package.%0A */%0A%0A/*%0A *  This file is subject to the terms and conditions defined in file 'LICENSE.md',%0A *  which is part of this source code package.%0A */%0A%0A/*%0A *  This file is subject to the terms and conditions defined in file 'LICENSE.md',%0A *  which is part of this source code package.%0A */%0A%0A
 /*%0A 
@@ -989,8 +989,9 @@
 %0A    %7D%0A%7D
+%0A

Remove duplicate copyright statements.