felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1706436 - /felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
Date Fri, 02 Oct 2015 15:41:49 GMT
Author: cziegeler
Date: Fri Oct  2 15:41:48 2015
New Revision: 1706436

URL: http://svn.apache.org/viewvc?rev=1706436&view=rev
Log:
FELIX-5060 : Unnecessary import of org.osgi.service.component

Modified:
    felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java

Modified: felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java?rev=1706436&r1=1706435&r2=1706436&view=diff
==============================================================================
--- felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
(original)
+++ felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
Fri Oct  2 15:41:48 2015
@@ -72,7 +72,6 @@ import org.osgi.framework.ServiceReferen
 import org.osgi.framework.ServiceRegistration;
 import org.osgi.framework.Version;
 import org.osgi.service.cm.ConfigurationAdmin;
-import org.osgi.service.component.ComponentConstants;
 import org.osgi.service.log.LogService;
 import org.osgi.service.packageadmin.ExportedPackage;
 import org.osgi.service.packageadmin.PackageAdmin;
@@ -1155,9 +1154,9 @@ public class BundlesServlet extends Simp
             appendProperty( val, refs[i], Constants.SERVICE_PID, "Service PID" );
             appendProperty( val, refs[i], "org.apache.felix.karaf.features.configKey", "Feature
PID" );
             appendProperty( val, refs[i], ConfigurationAdmin.SERVICE_FACTORYPID, "Factory
PID" );
-            appendProperty( val, refs[i], ComponentConstants.COMPONENT_NAME, "Component Name"
);
-            appendProperty( val, refs[i], ComponentConstants.COMPONENT_ID, "Component ID"
);
-            appendProperty( val, refs[i], ComponentConstants.COMPONENT_FACTORY, "Component
Factory" );
+            appendProperty( val, refs[i], "component.name", "Component Name" );
+            appendProperty( val, refs[i], "component.id", "Component ID" );
+            appendProperty( val, refs[i], "component.factory", "Component Factory" );
             appendProperty( val, refs[i], Constants.SERVICE_DESCRIPTION, "Description" );
             appendProperty( val, refs[i], Constants.SERVICE_VENDOR, "Vendor" );
 



Mime
View raw message