You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cz...@apache.org on 2016/04/27 00:01:49 UTC

svn commit: r1741109 - /felix/trunk/http/samples/whiteboard/src/main/java/org/apache/felix/http/samples/whiteboard/Activator.java

Author: cziegeler
Date: Tue Apr 26 22:01:48 2016
New Revision: 1741109

URL: http://svn.apache.org/viewvc?rev=1741109&view=rev
Log:
Correct filter sample

Modified:
    felix/trunk/http/samples/whiteboard/src/main/java/org/apache/felix/http/samples/whiteboard/Activator.java

Modified: felix/trunk/http/samples/whiteboard/src/main/java/org/apache/felix/http/samples/whiteboard/Activator.java
URL: http://svn.apache.org/viewvc/felix/trunk/http/samples/whiteboard/src/main/java/org/apache/felix/http/samples/whiteboard/Activator.java?rev=1741109&r1=1741108&r2=1741109&view=diff
==============================================================================
--- felix/trunk/http/samples/whiteboard/src/main/java/org/apache/felix/http/samples/whiteboard/Activator.java (original)
+++ felix/trunk/http/samples/whiteboard/src/main/java/org/apache/felix/http/samples/whiteboard/Activator.java Tue Apr 26 22:01:48 2016
@@ -62,7 +62,7 @@ public final class Activator
         // create and register filters
         final TestFilter filter1 = new TestFilter("filter1");
         final Dictionary<String, Object> filter1Props = new Hashtable<String, Object>();
-        filter1Props.put(HttpWhiteboardConstants.HTTP_WHITEBOARD_FILTER_PATTERN, "/");
+        filter1Props.put(HttpWhiteboardConstants.HTTP_WHITEBOARD_FILTER_PATTERN, "/*");
         filter1Props.put(HttpWhiteboardConstants.HTTP_WHITEBOARD_CONTEXT_SELECT,
                 "(" + HttpWhiteboardConstants.HTTP_WHITEBOARD_CONTEXT_NAME + "=filtersample)");
         context.registerService(Filter.class, filter1, filter1Props);