deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject deltaspike git commit: DELTASPIKE-1203 Polishing headers.
Date Sat, 15 Oct 2016 14:23:23 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 80c9ae77d -> 0596f9db2


DELTASPIKE-1203 Polishing headers.


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/0596f9db
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/0596f9db
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/0596f9db

Branch: refs/heads/master
Commit: 0596f9db2cc9344ab76a9cbc610f2f527e4e3373
Parents: 80c9ae7
Author: John D. Ament <johndament@apache.org>
Authored: Sat Oct 15 10:23:14 2016 -0400
Committer: John D. Ament <johndament@apache.org>
Committed: Sat Oct 15 10:23:14 2016 -0400

----------------------------------------------------------------------
 deltaspike/examples/jpa-examples/pom.xml        | 30 --------------------
 .../deltaspike/example/ArticleController.java   |  4 ---
 .../apache/deltaspike/example/HttpParam.java    |  4 ---
 .../apache/deltaspike/example/HttpParams.java   |  4 ---
 .../apache/deltaspike/example/LogProducer.java  |  4 ---
 .../apache/deltaspike/example/Resources.java    |  1 -
 .../src/main/resources/META-INF/persistence.xml | 18 ++++++++++++
 7 files changed, 18 insertions(+), 47 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/0596f9db/deltaspike/examples/jpa-examples/pom.xml
----------------------------------------------------------------------
diff --git a/deltaspike/examples/jpa-examples/pom.xml b/deltaspike/examples/jpa-examples/pom.xml
index a17e2f5..8f9d547 100644
--- a/deltaspike/examples/jpa-examples/pom.xml
+++ b/deltaspike/examples/jpa-examples/pom.xml
@@ -19,24 +19,6 @@
   -->
 
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-        Unless required by applicable law or agreed to in writing,
-        software distributed under the License is distributed on an
-        "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-        KIND, either express or implied.  See the License for the
-        specific language governing permissions and limitations
-        under the License.
-    -->
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
@@ -87,18 +69,6 @@
             <artifactId>deltaspike-jpa-module-impl</artifactId>
         </dependency>
 
-
-
-        <!-- The tutorials use postgresql database -->
-        <!--
-        <dependency>
-            <groupId>org.postgresql</groupId>
-            <artifactId>postgresql</artifactId>
-            <version>9.4.1209.jre7</version>
-            <scope>provided</scope>
-        </dependency>
-        -->
-
         <dependency>
             <groupId>javax</groupId>
             <artifactId>javaee-api</artifactId>

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/0596f9db/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/ArticleController.java
----------------------------------------------------------------------
diff --git a/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/ArticleController.java
b/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/ArticleController.java
index 56c1716..0c978a0 100644
--- a/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/ArticleController.java
+++ b/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/ArticleController.java
@@ -30,10 +30,6 @@ import javax.inject.Named;
 import javax.persistence.EntityManager;
 import javax.transaction.Transactional;
 
-/**
- *
- * @author Su Baochen <subaochen@126.com>
- */
 @Named
 @ViewScoped
 @Transactional

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/0596f9db/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/HttpParam.java
----------------------------------------------------------------------
diff --git a/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/HttpParam.java
b/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/HttpParam.java
index 6ce615c..75755f4 100644
--- a/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/HttpParam.java
+++ b/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/HttpParam.java
@@ -28,10 +28,6 @@ import java.lang.annotation.Target;
 import javax.enterprise.util.Nonbinding;
 import javax.inject.Qualifier;
 
-/**
- *
- * @author subaochen<subaochen@126.com>
- */
 @Qualifier
 @Retention(RUNTIME)
 @Target({ METHOD, FIELD, PARAMETER, TYPE })

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/0596f9db/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/HttpParams.java
----------------------------------------------------------------------
diff --git a/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/HttpParams.java
b/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/HttpParams.java
index 91938c5..b4edfa9 100644
--- a/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/HttpParams.java
+++ b/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/HttpParams.java
@@ -23,10 +23,6 @@ import javax.enterprise.inject.spi.InjectionPoint;
 import javax.faces.context.FacesContext;
 import javax.servlet.ServletRequest;
 
-/**
- *
- * @author subaochen<subaochen@126.com>
- */
 public class HttpParams
 {
 

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/0596f9db/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/LogProducer.java
----------------------------------------------------------------------
diff --git a/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/LogProducer.java
b/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/LogProducer.java
index 6467a20..2cacecb 100644
--- a/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/LogProducer.java
+++ b/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/LogProducer.java
@@ -22,10 +22,6 @@ import java.util.logging.Logger;
 import javax.enterprise.inject.Produces;
 import javax.enterprise.inject.spi.InjectionPoint;
 
-/**
- *
- * @author Su Baochen <subaochen@126.com>
- */
 public class LogProducer
 {
 

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/0596f9db/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/Resources.java
----------------------------------------------------------------------
diff --git a/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/Resources.java
b/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/Resources.java
index 1d62258..2d69e68 100644
--- a/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/Resources.java
+++ b/deltaspike/examples/jpa-examples/src/main/java/org/apache/deltaspike/example/Resources.java
@@ -29,7 +29,6 @@ import javax.persistence.EntityManager;
 import javax.persistence.EntityManagerFactory;
 import javax.persistence.PersistenceUnit;
 
-// @TODO why ApplicatonScoped?
 @ApplicationScoped
 public class Resources
 {

http://git-wip-us.apache.org/repos/asf/deltaspike/blob/0596f9db/deltaspike/examples/jpa-examples/src/main/resources/META-INF/persistence.xml
----------------------------------------------------------------------
diff --git a/deltaspike/examples/jpa-examples/src/main/resources/META-INF/persistence.xml
b/deltaspike/examples/jpa-examples/src/main/resources/META-INF/persistence.xml
index 654ed56..5b8904d 100644
--- a/deltaspike/examples/jpa-examples/src/main/resources/META-INF/persistence.xml
+++ b/deltaspike/examples/jpa-examples/src/main/resources/META-INF/persistence.xml
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
 <persistence version="2.0"
              xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="


Mime
View raw message