Return-Path: X-Original-To: apmail-jspwiki-commits-archive@www.apache.org Delivered-To: apmail-jspwiki-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 93CA71075D for ; Mon, 2 Dec 2013 22:21:59 +0000 (UTC) Received: (qmail 38937 invoked by uid 500); 2 Dec 2013 22:21:59 -0000 Delivered-To: apmail-jspwiki-commits-archive@jspwiki.apache.org Received: (qmail 38919 invoked by uid 500); 2 Dec 2013 22:21:59 -0000 Mailing-List: contact commits-help@jspwiki.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jspwiki.apache.org Delivered-To: mailing list commits@jspwiki.apache.org Received: (qmail 38912 invoked by uid 99); 2 Dec 2013 22:21:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Dec 2013 22:21:59 +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, 02 Dec 2013 22:21:57 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 584AC238889B; Mon, 2 Dec 2013 22:21:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1547217 - /jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/api/exceptions/WikiI18nException.java Date: Mon, 02 Dec 2013 22:21:36 -0000 To: commits@jspwiki.apache.org From: juanpablo@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20131202222136.584AC238889B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: juanpablo Date: Mon Dec 2 22:21:35 2013 New Revision: 1547217 URL: http://svn.apache.org/r1547217 Log: * formatted source Modified: jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/api/exceptions/WikiI18nException.java Modified: jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/api/exceptions/WikiI18nException.java URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/api/exceptions/WikiI18nException.java?rev=1547217&r1=1547216&r2=1547217&view=diff ============================================================================== --- jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/api/exceptions/WikiI18nException.java (original) +++ jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/api/exceptions/WikiI18nException.java Mon Dec 2 22:21:35 2013 @@ -18,16 +18,15 @@ */ package org.apache.wiki.api.exceptions; + /** - * A generic Wiki exception, meant to carry key & args to construct i18n messages to show - * meaningful messages to end-user. Classes and/or JSPs on the web tier are responsible of - * constructing the appropiate message. + * A generic Wiki exception, meant to carry key & args to construct i18n messages to show meaningful messages to + * end-user. Classes and/or JSPs on the web tier are responsible of constructing the appropiate message. * * @since 2.9.1 */ -public class WikiI18nException - extends WikiException -{ +public class WikiI18nException extends WikiException { + private static final long serialVersionUID = -1412916016409728838L; /** arguments needed to construct the i18n message associated with the exception. */ @@ -39,8 +38,7 @@ public class WikiI18nException * @param key the key corresponding to the i18n message in the exception. * @param args arguments needed to construct the i18n message associated with the exception. */ - public WikiI18nException( String key, Object... args ) - { + public WikiI18nException( String key, Object... args ) { super( key ); this.args = args; } @@ -50,8 +48,8 @@ public class WikiI18nException * * @return arguments needed to construct the i18n message associated with the exception. */ - public Object[] getArgs() - { + public Object[] getArgs() { return args; } + }