logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickwilli...@apache.org
Subject svn commit: r1481667 - in /logging/log4j/log4j2/trunk/core/src: main/java/org/apache/logging/log4j/core/appender/db/jpa/ test/java/org/apache/logging/log4j/core/appender/db/jpa/
Date Sun, 12 May 2013 22:56:32 GMT
Author: nickwilliams
Date: Sun May 12 22:56:32 2013
New Revision: 1481667

URL: http://svn.apache.org/r1481667
Log:
Renaming LogEventEntity to BasicLogEventEntity.

Added:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/BasicLogEventEntity.java
      - copied, changed from r1481666, logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/LogEventEntity.java
Removed:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/LogEventEntity.java
Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/AbstractLogEventWrapperEntity.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/db/jpa/TestBasicEntity.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/AbstractLogEventWrapperEntity.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/AbstractLogEventWrapperEntity.java?rev=1481667&r1=1481666&r2=1481667&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/AbstractLogEventWrapperEntity.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/AbstractLogEventWrapperEntity.java
Sun May 12 22:56:32 2013
@@ -30,7 +30,7 @@ import java.util.Map;
  * Users of the JPA appender MUST extend this class, using JPA annotations on the concrete
class and all of its
  * accessor methods (as needed) to map them to the proper table and columns. Accessors you
do not want persisted should
  * be annotated with {@link Transient @Transient}. All accessors should call {@link #getWrappedEvent()}
and delegate the
- * call to the underlying event. Users may want to instead extend {@link LogEventEntity},
which takes care of all of
+ * call to the underlying event. Users may want to instead extend {@link BasicLogEventEntity},
which takes care of all of
  * this for you.<br>
  * <br>
  * The concrete class must have two constructors: a public no-arg constructor to convince
the JPA provider that it's a
@@ -52,7 +52,7 @@ import java.util.Map;
  * requirement that accessor methods have matching mutator methods. If you create additional
accessor methods, you must
  * likewise create matching no-op mutator methods.
  *
- * @see LogEventEntity
+ * @see BasicLogEventEntity
  */
 @MappedSuperclass
 public abstract class AbstractLogEventWrapperEntity implements LogEvent {

Copied: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/BasicLogEventEntity.java
(from r1481666, logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/LogEventEntity.java)
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/BasicLogEventEntity.java?p2=logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/BasicLogEventEntity.java&p1=logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/LogEventEntity.java&r1=1481666&r2=1481667&rev=1481667&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/LogEventEntity.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/db/jpa/BasicLogEventEntity.java
Sun May 12 22:56:32 2013
@@ -47,13 +47,13 @@ import java.util.Map;
  * @see AbstractLogEventWrapperEntity
  */
 @MappedSuperclass
-public abstract class LogEventEntity extends AbstractLogEventWrapperEntity {
+public abstract class BasicLogEventEntity extends AbstractLogEventWrapperEntity {
     @SuppressWarnings("unused") // JPA requires this
-    public LogEventEntity() {
+    public BasicLogEventEntity() {
         super();
     }
 
-    public LogEventEntity(final LogEvent wrapped) {
+    public BasicLogEventEntity(final LogEvent wrapped) {
         super(wrapped);
     }
 

Modified: logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/db/jpa/TestBasicEntity.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/db/jpa/TestBasicEntity.java?rev=1481667&r1=1481666&r2=1481667&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/db/jpa/TestBasicEntity.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/db/jpa/TestBasicEntity.java
Sun May 12 22:56:32 2013
@@ -18,7 +18,7 @@ import java.util.Map;
 @Entity
 @Table(name = "jpaBasicLogEntry")
 @SuppressWarnings("unused")
-public class TestBasicEntity extends LogEventEntity {
+public class TestBasicEntity extends BasicLogEventEntity {
     private static final long serialVersionUID = 1L;
 
     private long id = 0L;



Mime
View raw message