felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1755501 - /felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/console/HttpServicePlugin.java
Date Mon, 08 Aug 2016 12:18:35 GMT
Author: cziegeler
Date: Mon Aug  8 12:18:35 2016
New Revision: 1755501

URL: http://svn.apache.org/viewvc?rev=1755501&view=rev
Log:
FELIX-5321 : Include service.ranking of servlet context helpers in web console output

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=1755501&r1=1755500&r2=1755501&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
Mon Aug  8 12:18:35 2016
@@ -1068,11 +1068,11 @@ public class HttpServicePlugin extends H
 
             pw.print("Path : ");
             pw.println(getContextPath(ctxDto.contextPath));
-            final ServiceReference<?> ref = this.getServiceReference(ctxDto.serviceId);
-            if ( ref != null )
+            final ServiceReference<?> ref2 = this.getServiceReference(ctxDto.serviceId);
+            if ( ref2 != null )
             {
                 int ranking = 0;
-                final Object obj = ref.getProperty(Constants.SERVICE_RANKING);
+                final Object obj = ref2.getProperty(Constants.SERVICE_RANKING);
                 if ( obj instanceof Integer)
                 {
                     ranking = (Integer)obj;



Mime
View raw message