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/08/08 12:18:35 UTC
svn commit: r1755501 -
/felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/console/HttpServicePlugin.java
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;