felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1760615 - /felix/sandbox/http-base-r7/src/main/java/org/apache/felix/http/base/internal/registry/ServletRegistry.java
Date Wed, 14 Sep 2016 02:30:37 GMT
Author: cziegeler
Date: Wed Sep 14 02:30:37 2016
New Revision: 1760615

URL: http://svn.apache.org/viewvc?rev=1760615&view=rev
Log:
FELIX-5299 : [RFC 223] 5.4 Support Servlets without a pattern

Modified:
    felix/sandbox/http-base-r7/src/main/java/org/apache/felix/http/base/internal/registry/ServletRegistry.java

Modified: felix/sandbox/http-base-r7/src/main/java/org/apache/felix/http/base/internal/registry/ServletRegistry.java
URL: http://svn.apache.org/viewvc/felix/sandbox/http-base-r7/src/main/java/org/apache/felix/http/base/internal/registry/ServletRegistry.java?rev=1760615&r1=1760614&r2=1760615&view=diff
==============================================================================
--- felix/sandbox/http-base-r7/src/main/java/org/apache/felix/http/base/internal/registry/ServletRegistry.java
(original)
+++ felix/sandbox/http-base-r7/src/main/java/org/apache/felix/http/base/internal/registry/ServletRegistry.java
Wed Sep 14 02:30:37 2016
@@ -495,7 +495,7 @@ public final class ServletRegistry
                     final ServletDTO state = ServletDTOBuilder.build(entry.getValue().handler,
map.getKey());
                     if ( map.getValue().length == 1 && NAMED_SERVLET_PATTERN == map.getValue()[0]
)
                     {
-                        state.patterns = null;
+                        state.patterns = BuilderConstants.EMPTY_STRING_ARRAY;
                     }
                     else
                     {



Mime
View raw message