tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject [3/3] git commit: Add missing years to copyright
Date Sat, 15 Feb 2014 19:20:36 GMT
Add missing years to copyright


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/6b4e7a04
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/6b4e7a04
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/6b4e7a04

Branch: refs/heads/master
Commit: 6b4e7a04c7a378c1feff9279f78ed91473c2c027
Parents: 20e1711
Author: Howard M. Lewis Ship <hlship@apache.org>
Authored: Sat Feb 15 14:20:24 2014 -0500
Committer: Howard M. Lewis Ship <hlship@apache.org>
Committed: Sat Feb 15 14:20:24 2014 -0500

----------------------------------------------------------------------
 .../jpa/EntityManagerSourceImplTest.java         | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/6b4e7a04/tapestry-jpa/src/test/java/org/apache/tapestry5/internal/jpa/EntityManagerSourceImplTest.java
----------------------------------------------------------------------
diff --git a/tapestry-jpa/src/test/java/org/apache/tapestry5/internal/jpa/EntityManagerSourceImplTest.java
b/tapestry-jpa/src/test/java/org/apache/tapestry5/internal/jpa/EntityManagerSourceImplTest.java
index 9ccbafc..0cab6d4 100644
--- a/tapestry-jpa/src/test/java/org/apache/tapestry5/internal/jpa/EntityManagerSourceImplTest.java
+++ b/tapestry-jpa/src/test/java/org/apache/tapestry5/internal/jpa/EntityManagerSourceImplTest.java
@@ -1,4 +1,4 @@
-// Copyright 2011 The Apache Software Foundation
+// Copyright 2011-2014 The Apache Software Foundation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
@@ -14,12 +14,6 @@
 
 package org.apache.tapestry5.internal.jpa;
 
-import java.util.HashMap;
-import java.util.Map;
-
-import javax.persistence.EntityManager;
-import javax.persistence.spi.PersistenceUnitTransactionType;
-
 import org.apache.tapestry5.ioc.internal.util.ClasspathResource;
 import org.apache.tapestry5.ioc.internal.util.CollectionFactory;
 import org.apache.tapestry5.jpa.PersistenceUnitConfigurer;
@@ -28,6 +22,11 @@ import org.apache.tapestry5.test.TapestryTestCase;
 import org.slf4j.LoggerFactory;
 import org.testng.annotations.Test;
 
+import javax.persistence.EntityManager;
+import javax.persistence.spi.PersistenceUnitTransactionType;
+import java.util.HashMap;
+import java.util.Map;
+
 public class EntityManagerSourceImplTest extends TapestryTestCase
 {
     @Test
@@ -62,7 +61,7 @@ public class EntityManagerSourceImplTest extends TapestryTestCase
         PersistenceUnitConfigurer configurer = new PersistenceUnitConfigurer()
         {
             @SuppressWarnings(
-            { "unchecked", "rawtypes" })
+                    {"unchecked", "rawtypes"})
             public void configure(TapestryPersistenceUnitInfo unitInfo)
             {
                 Map properties = new HashMap();
@@ -79,11 +78,11 @@ public class EntityManagerSourceImplTest extends TapestryTestCase
         };
 
         Map<String, PersistenceUnitConfigurer> configurerMap = CollectionFactory
-                .<String, PersistenceUnitConfigurer> newMap();
+                .<String, PersistenceUnitConfigurer>newMap();
         configurerMap.put("defaultpropertytest", configurer);
         EntityManagerSourceImpl emSource = new EntityManagerSourceImpl(
                 LoggerFactory.getLogger(EntityManagerSourceImplTest.class), new ClasspathResource(
-                        "single-persistence-unit.xml"), null, configurerMap);
+                "single-persistence-unit.xml"), null, configurerMap);
         EntityManager em = emSource.createEntityManagerFactory("defaultpropertytest")
                 .createEntityManager();
         assertEquals(em.getProperties().get("MYKEY"), "MYVALUE");


Mime
View raw message