jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juanpa...@apache.org
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 GMT
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;
     }
+
 }



Mime
View raw message