sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jus...@apache.org
Subject 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
Date Tue, 30 Aug 2011 03:17:52 GMT
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() {



Mime
View raw message