incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1364747 - /sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/OsgiInstallerImpl.java
Date Mon, 23 Jul 2012 18:41:50 GMT
Author: cziegeler
Date: Mon Jul 23 18:41:50 2012
New Revision: 1364747

URL: http://svn.apache.org/viewvc?rev=1364747&view=rev
Log:
SLING-2525 : Improve internal task handling

Modified:
    sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/OsgiInstallerImpl.java

Modified: sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/OsgiInstallerImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/OsgiInstallerImpl.java?rev=1364747&r1=1364746&r2=1364747&view=diff
==============================================================================
--- sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/OsgiInstallerImpl.java
(original)
+++ sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/OsgiInstallerImpl.java
Mon Jul 23 18:41:50 2012
@@ -210,10 +210,6 @@ public class OsgiInstallerImpl
                 // invoke transformers
                 this.transformResources();
 
-                // special resources
-                final EntityResourceList erl = this.persistentList.getEntityResourceList(PersistentResourceList.RESTART_ACTIVE_BUNDLES_ENTITY_ID
);
-                ((RegisteredResourceImpl)erl.getResources().iterator().next()).setState(ResourceState.INSTALL);
-
                 // Compute tasks
                 final SortedSet<InstallTask> tasks = this.computeTasks();
                 // execute tasks and see if we have to stop processing



Mime
View raw message