logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1431924 - /logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/
Date Fri, 11 Jan 2013 07:35:13 GMT
Author: ggregory
Date: Fri Jan 11 07:35:13 2013
New Revision: 1431924

URL: http://svn.apache.org/viewvc?rev=1431924&view=rev
Log:
Redundant implementation of interface Serializable, it already implemented in the superinterface.

Modified:
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/FormattedMessage.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/MapMessage.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/MessageFormatMessage.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ObjectMessage.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessage.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/SimpleMessage.java
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StringFormattedMessage.java

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/FormattedMessage.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/FormattedMessage.java?rev=1431924&r1=1431923&r2=1431924&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/FormattedMessage.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/FormattedMessage.java
Fri Jan 11 07:35:13 2013
@@ -32,7 +32,7 @@ import java.util.regex.Pattern;
  * Handles messages that contain a format String. Dynamically determines if the format conforms
to
  * MessageFormat or String.format and if not then uses ParameterizedMessage to format.
  */
-public class FormattedMessage implements Message, Serializable {
+public class FormattedMessage implements Message {
 
     private static final Logger LOGGER = StatusLogger.getLogger();
 

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java?rev=1431924&r1=1431923&r2=1431924&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java
Fri Jan 11 07:35:13 2013
@@ -35,7 +35,7 @@ import java.util.ResourceBundle;
  * used to read the events and display them to the user should also localize and format the
  * messages for the end user.
  */
-public class LocalizedMessage implements Message, Serializable, LoggerNameAwareMessage
+public class LocalizedMessage implements Message, LoggerNameAwareMessage
 {
     private static final long serialVersionUID = 3893703791567290742L;
 

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/MapMessage.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/MapMessage.java?rev=1431924&r1=1431923&r2=1431924&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/MapMessage.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/MapMessage.java
Fri Jan 11 07:35:13 2013
@@ -27,7 +27,7 @@ import org.apache.logging.log4j.util.Eng
 /**
  * Represents a Message that consists of a Map.
  */
-public class MapMessage implements MultiformatMessage, Serializable {
+public class MapMessage implements MultiformatMessage {
     /**
      * When set as the format specifier causes the Map to be formatted as XML.
      */

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/MessageFormatMessage.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/MessageFormatMessage.java?rev=1431924&r1=1431923&r2=1431924&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/MessageFormatMessage.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/MessageFormatMessage.java
Fri Jan 11 07:35:13 2013
@@ -30,7 +30,7 @@ import java.util.IllegalFormatException;
 /**
  * Handles messages that consist of a format string conforming to java.text.MessageFormat.
  */
-public class MessageFormatMessage implements Message, Serializable {
+public class MessageFormatMessage implements Message {
 
     private static final Logger LOGGER = StatusLogger.getLogger();
 

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ObjectMessage.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ObjectMessage.java?rev=1431924&r1=1431923&r2=1431924&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ObjectMessage.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ObjectMessage.java
Fri Jan 11 07:35:13 2013
@@ -24,7 +24,7 @@ import java.io.Serializable;
 /**
  * Handles messages that contain an Object.
  */
-public class ObjectMessage implements Message, Serializable {
+public class ObjectMessage implements Message {
 
     private static final long serialVersionUID = -5903272448334166185L;
 

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessage.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessage.java?rev=1431924&r1=1431923&r2=1431924&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessage.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/ParameterizedMessage.java
Fri Jan 11 07:35:13 2013
@@ -33,7 +33,7 @@ import java.util.Set;
  * Joern Huxhorn where it is licensed under the LGPL. It has been relicensed here with his
permission
  * providing that this attribution remain.
  */
-public class ParameterizedMessage implements Message, Serializable {
+public class ParameterizedMessage implements Message {
 
     /**
      * Prefix for recursion.

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/SimpleMessage.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/SimpleMessage.java?rev=1431924&r1=1431923&r2=1431924&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/SimpleMessage.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/SimpleMessage.java
Fri Jan 11 07:35:13 2013
@@ -21,7 +21,7 @@ import java.io.Serializable;
 /**
  * The simplest possible implementation of Message. It just returns the String given as the
constructor argument.
  */
-public class SimpleMessage implements Message, Serializable {
+public class SimpleMessage implements Message {
     private static final long serialVersionUID = -8398002534962715992L;
 
     private final String message;

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StringFormattedMessage.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StringFormattedMessage.java?rev=1431924&r1=1431923&r2=1431924&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StringFormattedMessage.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/StringFormattedMessage.java
Fri Jan 11 07:35:13 2013
@@ -29,7 +29,7 @@ import java.util.IllegalFormatException;
 /**
  * Handles messages that consist of a format string conforming to java.util.Formatter.
  */
-public class StringFormattedMessage implements Message, Serializable {
+public class StringFormattedMessage implements Message {
 
     private static final Logger LOGGER = StatusLogger.getLogger();
 



Mime
View raw message