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/11/07 09:13:07 UTC

[sling-bundle-archetype] 05/11: fixing typo in bundle archetype

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

rombert pushed a commit to annotated tag sling-bundle-archetype-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-bundle-archetype.git

commit 24b31a59bbd384d161a19ba8320d280f77194916
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Tue Aug 30 03:17:52 2011 +0000

    fixing typo in bundle archetype
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/maven/archetypes/bundle@1163077 13f79535-47bb-0310-9956-ffa450edef68
---
 .../resources/archetype-resources/src/main/java/SimpleDSComponent.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/resources/archetype-resources/src/main/java/SimpleDSComponent.java b/src/main/resources/archetype-resources/src/main/java/SimpleDSComponent.java
index 76b29a3..22a4ce0 100644
--- a/src/main/resources/archetype-resources/src/main/java/SimpleDSComponent.java
+++ b/src/main/resources/archetype-resources/src/main/java/SimpleDSComponent.java
@@ -43,7 +43,7 @@ public class SimpleDSComponent implements Runnable {
     }
     
     protected void activate(ComponentContext ctx) {
-        this.bundleContext = bundleContext;
+        this.bundleContext = ctx.getBundleContext();
     }
     
     protected void deactivate() {

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