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

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

commit 03be059f0d991ff97dafb5fafb2ac311c96d31e9
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Fri Sep 10 07:41:55 2010 +0000

    SLING-1737 : Add state management for resources
    
    git-svn-id: 
https://svn.apache.org/repos/asf/sling/trunk/installer/fileinstall@995689 
13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/installer/file/impl/Installer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/installer/file/impl/Installer.java 
b/src/main/java/org/apache/sling/installer/file/impl/Installer.java
index 8af9fd7..6798152 100644
--- a/src/main/java/org/apache/sling/installer/file/impl/Installer.java
+++ b/src/main/java/org/apache/sling/installer/file/impl/Installer.java
@@ -85,7 +85,7 @@ public class Installer implements FileChangesListener {
                 resources.add(resource);
             }
         }
-        this.installer.registerResources(this.scheme, resources);
+        this.installer.registerResources(this.scheme, resources.toArray(new 
InstallableResource[resources.size()]));
     }
 
     private InstallableResource createResource(final File file) {

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to