You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/10/18 23:24:25 UTC

[sling-org-apache-sling-hapi] 09/27: Minor code clean up

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-hapi.git

commit 6e0b306829d6748ace24388c74e7466e9bc705da
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Mon Feb 1 15:51:45 2016 +0000

    Minor code clean up
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1727961 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/hapi/impl/HApiUtilImpl.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/hapi/impl/HApiUtilImpl.java b/src/main/java/org/apache/sling/hapi/impl/HApiUtilImpl.java
index eac29e5..043ce0c 100644
--- a/src/main/java/org/apache/sling/hapi/impl/HApiUtilImpl.java
+++ b/src/main/java/org/apache/sling/hapi/impl/HApiUtilImpl.java
@@ -46,7 +46,6 @@ import org.apache.sling.hapi.HApiProperty;
 import org.apache.sling.hapi.HApiType;
 import org.apache.sling.hapi.HApiUtil;
 import org.apache.sling.hapi.MicrodataAttributeHelper;
-import org.osgi.service.component.ComponentContext;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -74,7 +73,7 @@ public class HApiUtilImpl implements HApiUtil {
 
 
     @Activate
-    private void activate(ComponentContext context, Map<String, Object> configuration) {
+    private void activate(Map<String, Object> configuration) {
         resourceType = PropertiesUtil.toString(configuration.get(HAPI_RESOURCE_TYPE), DEFAULT_RESOURCE_TYPE);
         hApiPaths = PropertiesUtil.toStringArray(configuration.get(HAPI_PATHS));
         serverContextPath = PropertiesUtil.toString(configuration.get(HAPI_EXTERNAL_URL), DEFAULT_SERVER_URL);

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.