jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juanpa...@apache.org
Subject svn commit: r1547213 - in /jspwiki/trunk/jspwiki-war/src: main/java/org/apache/wiki/api/exceptions/ main/java/org/apache/wiki/filters/ test/java/org/apache/wiki/filters/
Date Mon, 02 Dec 2013 22:19:15 GMT
Author: juanpablo
Date: Mon Dec  2 22:19:15 2013
New Revision: 1547213

URL: http://svn.apache.org/r1547213
Log:
 * (re)moved o.a.w.filters.BasicPageFilter to o.a.w.api.filter.BasicPageFilter
 * (re)moved o.a.w.filters.PageFilter to o.a.w.api.filter.PageFilter
 * (re)moved o.a.w.filters.FilterException to o.a.w.api.exceptions.FilterException
 * (re)moved o.a.w.filters.RedirectException to o.a.w.api.exceptions.RedirectException
 

Removed:
    jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/filters/BasicPageFilter.java
    jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/filters/FilterException.java
    jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/filters/PageFilter.java
    jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/filters/RedirectException.java
Modified:
    jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/api/exceptions/FilterException.java
    jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/api/exceptions/RedirectException.java
    jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/filters/TestFilter.java

Modified: jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/api/exceptions/FilterException.java
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/api/exceptions/FilterException.java?rev=1547213&r1=1547212&r2=1547213&view=diff
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/api/exceptions/FilterException.java
(original)
+++ jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/api/exceptions/FilterException.java
Mon Dec  2 22:19:15 2013
@@ -24,9 +24,7 @@ package org.apache.wiki.api.exceptions;
  *
  *  @since 2.1.112
  */
-public class FilterException 
-    extends WikiException
-{
+public class FilterException extends WikiException {
     
     private static final long serialVersionUID = -490652869936406653L;
 
@@ -35,8 +33,8 @@ public class FilterException 
      *  
      *  @param msg {@inheritDoc}
      */
-    public FilterException( String msg )
-    {
+    public FilterException( String msg ) {
         super( msg );
     }
+
 }

Modified: jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/api/exceptions/RedirectException.java
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/api/exceptions/RedirectException.java?rev=1547213&r1=1547212&r2=1547213&view=diff
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/api/exceptions/RedirectException.java
(original)
+++ jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/api/exceptions/RedirectException.java
Mon Dec  2 22:19:15 2013
@@ -18,15 +18,14 @@
  */
 package org.apache.wiki.api.exceptions;
 
+
 /**
- *  This exception may be thrown if a filter wants to reject something and
- *  redirect the user elsewhere.
+ *  This exception may be thrown if a filter wants to reject something and redirect the user
elsewhere.
  *
  *  @since 2.1.112
  */
-public class RedirectException
-    extends FilterException
-{
+public class RedirectException extends FilterException {
+	
     private static final long serialVersionUID = 6626993875873941172L;
     
     private final String m_where;
@@ -37,10 +36,8 @@ public class RedirectException
      *  @param msg The message for the exception
      *  @param redirect The redirect URI.
      */
-    public RedirectException( String msg, String redirect )
-    {
+    public RedirectException( String msg, String redirect ) {
         super( msg );
-
         m_where = redirect;
     }
 
@@ -49,8 +46,8 @@ public class RedirectException
      *  
      *  @return The URI given in the constructor.
      */
-    public String getRedirect()
-    {
+    public String getRedirect() {
         return m_where;
     }
+    
 }

Modified: jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/filters/TestFilter.java
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/filters/TestFilter.java?rev=1547213&r1=1547212&r2=1547213&view=diff
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/filters/TestFilter.java (original)
+++ jspwiki/trunk/jspwiki-war/src/test/java/org/apache/wiki/filters/TestFilter.java Mon Dec
 2 22:19:15 2013
@@ -21,14 +21,15 @@ package org.apache.wiki.filters;
 import java.util.Properties;
 
 import org.apache.wiki.WikiEngine;
+import org.apache.wiki.api.filters.BasicPageFilter;
 
-public class TestFilter
-    extends BasicPageFilter
-{
+
+public class TestFilter extends BasicPageFilter {
+	
     public Properties m_properties;
 
-    public void initialize( WikiEngine engine, Properties props )
-    {
+    public void initialize( WikiEngine engine, Properties props ) {
         m_properties = props;
     }
+
 }



Mime
View raw message