logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1420767 - /logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/AbstractMessageFactory.java
Date Wed, 12 Dec 2012 15:30:29 GMT
Author: ggregory
Date: Wed Dec 12 15:30:27 2012
New Revision: 1420767

URL: http://svn.apache.org/viewvc?rev=1420767&view=rev
Log:
Javadoc.

Modified:
    logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/AbstractMessageFactory.java

Modified: logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/AbstractMessageFactory.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/AbstractMessageFactory.java?rev=1420767&r1=1420766&r2=1420767&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/AbstractMessageFactory.java
(original)
+++ logging/log4j/log4j2/trunk/api/src/main/java/org/apache/logging/log4j/message/AbstractMessageFactory.java
Wed Dec 12 15:30:27 2012
@@ -1,26 +1,36 @@
 package org.apache.logging.log4j.message;
 
 /**
+ * Provides an abstract superclass for MessageFactory implementations with default implementations.
+ * <p>
+ * This class is immutable.
+ * </p>
  * 
  * @version $Id$
  */
 public abstract class AbstractMessageFactory implements MessageFactory {
 
-    /* (non-Javadoc)
+    /*
+     * (non-Javadoc)
+     * 
      * @see org.apache.logging.log4j.message.MessageFactory#newMessage(java.lang.Object)
      */
     public Message newMessage(final Object message) {
         return new ObjectMessage(message);
     }
 
-    /* (non-Javadoc)
+    /*
+     * (non-Javadoc)
+     * 
      * @see org.apache.logging.log4j.message.MessageFactory#newMessage(java.lang.String)
      */
     public Message newMessage(final String message) {
         return new SimpleMessage(message);
     }
 
-    /* (non-Javadoc)
+    /*
+     * (non-Javadoc)
+     * 
      * @see org.apache.logging.log4j.message.MessageFactory#newMessage(java.lang.String,
java.lang.Object)
      */
     public abstract Message newMessage(String message, Object... params);



Mime
View raw message