Return-Path: X-Original-To: apmail-logging-commits-archive@minotaur.apache.org Delivered-To: apmail-logging-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B78610345 for ; Mon, 24 Mar 2014 06:24:25 +0000 (UTC) Received: (qmail 6006 invoked by uid 500); 24 Mar 2014 06:24:24 -0000 Delivered-To: apmail-logging-commits-archive@logging.apache.org Received: (qmail 5208 invoked by uid 500); 24 Mar 2014 06:24:18 -0000 Mailing-List: contact commits-help@logging.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@logging.apache.org Delivered-To: mailing list commits@logging.apache.org Received: (qmail 5191 invoked by uid 99); 24 Mar 2014 06:24:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2014 06:24:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2014 06:24:15 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id EED6C23889B9; Mon, 24 Mar 2014 06:23:54 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1580770 - /logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java Date: Mon, 24 Mar 2014 06:23:54 -0000 To: commits@logging.apache.org From: ggregory@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140324062354.EED6C23889B9@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ggregory Date: Mon Mar 24 06:23:54 2014 New Revision: 1580770 URL: http://svn.apache.org/r1580770 Log: Javadoc: small improvements. Modified: logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java Modified: logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java?rev=1580770&r1=1580769&r2=1580770&view=diff ============================================================================== --- logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java (original) +++ logging/log4j/log4j2/trunk/log4j-api/src/main/java/org/apache/logging/log4j/message/LocalizedMessage.java Mon Mar 24 06:23:54 2014 @@ -26,13 +26,13 @@ import java.util.ResourceBundle; import org.apache.logging.log4j.status.StatusLogger; /** - * This class is not the recommended way to Localize messages. It is provided to provide some level - * of compatibility with Log4j 1.x. - * - * The recommended way to localize messages is to simply log a message id. Log events should - * then be recorded without formatting into some kind of data store. The application that is - * used to read the events and display them to the user should also localize and format the - * messages for the end user. + * Provides some level of compatibility with Log4j 1.x and convenience but is not the recommended way to Localize + * messages. + *

+ * The recommended way to localize messages is to log a message id. Log events should then be recorded without + * formatting into a data store. The application that is used to read the events and display them to the user can then + * localize and format the messages for the end user. + *

*/ public class LocalizedMessage implements Message, LoggerNameAwareMessage { private static final long serialVersionUID = 3893703791567290742L;