logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1431911 - in /logging/log4j/log4j2/trunk: core/src/main/java/org/apache/logging/log4j/core/appender/ core/src/main/java/org/apache/logging/log4j/core/config/ core/src/test/java/org/apache/logging/log4j/core/ core/src/test/java/org/apache/l...
Date Fri, 11 Jan 2013 06:45:42 GMT
Author: ggregory
Date: Fri Jan 11 06:45:41 2013
New Revision: 1431911

URL: http://svn.apache.org/viewvc?rev=1431911&view=rev
Log:
[LOG4J2-145] Add missing serial version IDs.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AppenderRuntimeException.java
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationException.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/SimplePerfTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/Timer.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/XMLEvents.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/lookup/DateLookupTest.java
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/UnexpectedFormatException.java
    logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeAvroManager.java
    logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeEvent.java
    logging/log4j/log4j2/trunk/log4j12-api/src/test/java/org/apache/log4j/LevelTest.java
    logging/log4j/log4j2/trunk/slf4j-impl/src/main/java/org/apache/logging/slf4j/SLF4JLoggingException.java
    logging/log4j/log4j2/trunk/src/changes/changes.xml

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AppenderRuntimeException.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AppenderRuntimeException.java?rev=1431911&r1=1431910&r2=1431911&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AppenderRuntimeException.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AppenderRuntimeException.java
Fri Jan 11 06:45:41 2013
@@ -23,6 +23,11 @@ package org.apache.logging.log4j.core.ap
  */
 public class AppenderRuntimeException extends RuntimeException {
 
+    /**
+     * Generated serial version ID.
+     */
+    private static final long serialVersionUID = 6545990597472958303L;
+
     public AppenderRuntimeException(final String msg) {
         super(msg);
     }

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationException.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationException.java?rev=1431911&r1=1431910&r2=1431911&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationException.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationException.java
Fri Jan 11 06:45:41 2013
@@ -21,6 +21,11 @@ package org.apache.logging.log4j.core.co
  */
 public class ConfigurationException extends RuntimeException {
 
+    /**
+     * Generated serial version ID.
+     */
+    private static final long serialVersionUID = -2413951820300775294L;
+
     public ConfigurationException(final String msg) {
         super(msg);
     }

Modified: logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/SimplePerfTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/SimplePerfTest.java?rev=1431911&r1=1431910&r2=1431911&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/SimplePerfTest.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/SimplePerfTest.java
Fri Jan 11 06:45:41 2013
@@ -130,6 +130,10 @@ public class SimplePerfTest {
     }
 
     private static class SimpleRandom extends Random {
+        /**
+         * Generated serial version ID.
+         */
+        private static final long serialVersionUID = 3517002855516031846L;
         private int low = 5;
         private int high = 55;
 

Modified: logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/Timer.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/Timer.java?rev=1431911&r1=1431910&r2=1431911&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/Timer.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/Timer.java
Fri Jan 11 06:45:41 2013
@@ -24,6 +24,10 @@ import java.text.DecimalFormat;
  */
 public class Timer implements Serializable
 {
+    /**
+     * Generated serial version ID.
+     */
+    private static final long serialVersionUID = 1313460139390794926L;
     private final String m_name;              // The timer's name
     private String m_status;            // The timer's status
     private long m_startTime;           // The start time

Modified: logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/XMLEvents.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/XMLEvents.java?rev=1431911&r1=1431910&r2=1431911&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/XMLEvents.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/XMLEvents.java
Fri Jan 11 06:45:41 2013
@@ -56,6 +56,11 @@ public class XMLEvents {
 
     private class TransferMessage extends StructuredDataMessage {
 
+        /**
+         * Generated serial version ID.
+         */
+        private static final long serialVersionUID = -4334703653495359785L;
+
         public TransferMessage() {
             super("Transfer@18060", null, "Audit");
         }

Modified: logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/lookup/DateLookupTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/lookup/DateLookupTest.java?rev=1431911&r1=1431910&r2=1431911&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/lookup/DateLookupTest.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/lookup/DateLookupTest.java
Fri Jan 11 06:45:41 2013
@@ -44,6 +44,11 @@ public class DateLookupTest {
     }
 
     private class MyLogEvent implements LogEvent {
+        /**
+         * Generated serial version ID.
+         */
+        private static final long serialVersionUID = -2663819677970643109L;
+
         public Level getLevel() {
             return null;
         }

Modified: logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/UnexpectedFormatException.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/UnexpectedFormatException.java?rev=1431911&r1=1431910&r2=1431911&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/UnexpectedFormatException.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/UnexpectedFormatException.java
Fri Jan 11 06:45:41 2013
@@ -19,7 +19,12 @@ package org.apache.logging.log4j.core.ut
 
 public class UnexpectedFormatException extends Exception {
 
-  public UnexpectedFormatException(final String msg) {
+  /**
+     * Generated serial version ID.
+     */
+    private static final long serialVersionUID = -5322323184538975579L;
+
+public UnexpectedFormatException(final String msg) {
     super(msg);
   }
 }

Modified: logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeAvroManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeAvroManager.java?rev=1431911&r1=1431910&r2=1431911&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeAvroManager.java
(original)
+++ logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeAvroManager.java
Fri Jan 11 06:45:41 2013
@@ -259,6 +259,11 @@ public class FlumeAvroManager extends Ab
      */
     private static class EventList extends ArrayList<AvroFlumeEvent> {
 
+        /**
+         * Generated serial version ID.
+         */
+        private static final long serialVersionUID = -1599817377315957495L;
+
         public synchronized List<AvroFlumeEvent> addAndGet(final AvroFlumeEvent event,
final int batchSize) {
             super.add(event);
             if (this.size() >= batchSize) {

Modified: logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeEvent.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeEvent.java?rev=1431911&r1=1431910&r2=1431911&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeEvent.java
(original)
+++ logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeEvent.java
Fri Jan 11 06:45:41 2013
@@ -41,6 +41,11 @@ import java.util.zip.GZIPOutputStream;
  */
 public class FlumeEvent extends SimpleEvent implements LogEvent {
 
+    /**
+     * Generated serial version ID.
+     */
+    private static final long serialVersionUID = -8988674608627854140L;
+
     private static final String DEFAULT_MDC_PREFIX = "mdc:";
 
     private static final String DEFAULT_EVENT_PREFIX = "";

Modified: logging/log4j/log4j2/trunk/log4j12-api/src/test/java/org/apache/log4j/LevelTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j12-api/src/test/java/org/apache/log4j/LevelTest.java?rev=1431911&r1=1431910&r2=1431911&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j12-api/src/test/java/org/apache/log4j/LevelTest.java (original)
+++ logging/log4j/log4j2/trunk/log4j12-api/src/test/java/org/apache/log4j/LevelTest.java Fri
Jan 11 06:45:41 2013
@@ -92,6 +92,11 @@ public class LevelTest {
      */
     private static class CustomLevel extends Level {
         /**
+         * Generated serial version ID.
+         */
+        private static final long serialVersionUID = -6931920872225831135L;
+
+        /**
          * Create an instance of CustomLevel.
          */
         public CustomLevel() {

Modified: logging/log4j/log4j2/trunk/slf4j-impl/src/main/java/org/apache/logging/slf4j/SLF4JLoggingException.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/slf4j-impl/src/main/java/org/apache/logging/slf4j/SLF4JLoggingException.java?rev=1431911&r1=1431910&r2=1431911&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/slf4j-impl/src/main/java/org/apache/logging/slf4j/SLF4JLoggingException.java
(original)
+++ logging/log4j/log4j2/trunk/slf4j-impl/src/main/java/org/apache/logging/slf4j/SLF4JLoggingException.java
Fri Jan 11 06:45:41 2013
@@ -22,6 +22,11 @@ package org.apache.logging.slf4j;
  */
 public class SLF4JLoggingException extends RuntimeException {
 
+    /**
+     * Generated serial version ID.
+     */
+    private static final long serialVersionUID = -1618650972455089998L;
+
     public SLF4JLoggingException(final String msg) {
         super(msg);
     }

Modified: logging/log4j/log4j2/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/changes/changes.xml?rev=1431911&r1=1431910&r2=1431911&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/changes/changes.xml (original)
+++ logging/log4j/log4j2/trunk/src/changes/changes.xml Fri Jan 11 06:45:41 2013
@@ -23,6 +23,9 @@
 
   <body>
     <release version="2.0-beta4" date="TBD" description="Bug fixes and enhancements">
+      <action issue="LOG4J2-145" dev="ggregory" type="fix">
+        Add missing serial version IDs.
+      </action>
       <action issue="LOG4J2-144" dev="ggregory" type="fix">
         NullPointerException in RFC5424Layout.
       </action>



Mime
View raw message