You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ju...@apache.org on 2011/08/30 05:17:52 UTC

svn commit: r1163077 - in /sling/trunk/maven/archetypes: bundle-for-jcrinstall/src/main/resources/archetype-resources/src/main/java/SimpleDSComponent.java bundle/src/main/resources/archetype-resources/src/main/java/SimpleDSComponent.java

Author: justin
Date: Tue Aug 30 03:17:52 2011
New Revision: 1163077

URL: http://svn.apache.org/viewvc?rev=1163077&view=rev
Log:
fixing typo in bundle archetype

Modified:
    sling/trunk/maven/archetypes/bundle-for-jcrinstall/src/main/resources/archetype-resources/src/main/java/SimpleDSComponent.java
    sling/trunk/maven/archetypes/bundle/src/main/resources/archetype-resources/src/main/java/SimpleDSComponent.java

Modified: sling/trunk/maven/archetypes/bundle-for-jcrinstall/src/main/resources/archetype-resources/src/main/java/SimpleDSComponent.java
URL: http://svn.apache.org/viewvc/sling/trunk/maven/archetypes/bundle-for-jcrinstall/src/main/resources/archetype-resources/src/main/java/SimpleDSComponent.java?rev=1163077&r1=1163076&r2=1163077&view=diff
==============================================================================
--- sling/trunk/maven/archetypes/bundle-for-jcrinstall/src/main/resources/archetype-resources/src/main/java/SimpleDSComponent.java (original)
+++ sling/trunk/maven/archetypes/bundle-for-jcrinstall/src/main/resources/archetype-resources/src/main/java/SimpleDSComponent.java Tue Aug 30 03:17:52 2011
@@ -43,7 +43,7 @@ public class SimpleDSComponent implement
     }
     
     protected void activate(ComponentContext ctx) {
-        this.bundleContext = bundleContext;
+        this.bundleContext = ctx.getBundleContext();
     }
     
     protected void deactivate() {

Modified: sling/trunk/maven/archetypes/bundle/src/main/resources/archetype-resources/src/main/java/SimpleDSComponent.java
URL: http://svn.apache.org/viewvc/sling/trunk/maven/archetypes/bundle/src/main/resources/archetype-resources/src/main/java/SimpleDSComponent.java?rev=1163077&r1=1163076&r2=1163077&view=diff
==============================================================================
--- sling/trunk/maven/archetypes/bundle/src/main/resources/archetype-resources/src/main/java/SimpleDSComponent.java (original)
+++ sling/trunk/maven/archetypes/bundle/src/main/resources/archetype-resources/src/main/java/SimpleDSComponent.java Tue Aug 30 03:17:52 2011
@@ -43,7 +43,7 @@ public class SimpleDSComponent implement
     }
     
     protected void activate(ComponentContext ctx) {
-        this.bundleContext = bundleContext;
+        this.bundleContext = ctx.getBundleContext();
     }
     
     protected void deactivate() {