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/12/21 11:28:38 UTC

svn commit: r1775404 - /felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/console/HttpServicePlugin.java

Author: cziegeler
Date: Wed Dec 21 11:28:38 2016
New Revision: 1775404

URL: http://svn.apache.org/viewvc?rev=1775404&view=rev
Log:
FELIX-5437 : Webconsole Ranking in the Http Jetty bundle is always zero. Apply patch from Simon Wimmesberger

Modified:
    felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/console/HttpServicePlugin.java

Modified: felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/console/HttpServicePlugin.java
URL: http://svn.apache.org/viewvc/felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/console/HttpServicePlugin.java?rev=1775404&r1=1775403&r2=1775404&view=diff
==============================================================================
--- felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/console/HttpServicePlugin.java (original)
+++ felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/console/HttpServicePlugin.java Wed Dec 21 11:28:38 2016
@@ -602,7 +602,7 @@ public class HttpServicePlugin extends H
         {
             try
             {
-                final ServiceReference<?>[] ref = this.context.getServiceReferences((String)null, "(" + Constants.SERVICE_ID + "=" + String.valueOf(serviceId));
+                final ServiceReference<?>[] ref = this.context.getServiceReferences((String)null, "(" + Constants.SERVICE_ID + "=" + String.valueOf(serviceId) + ")");
                 if ( ref != null && ref.length > 0 )
                 {
                     return ref[0];