Author: pauls
Date: Tue Sep 12 09:51:16 2017
New Revision: 1808097

URL: http://svn.apache.org/viewvc?rev=1808097&view=rev
Log:
Adapt to parameter change FeatureUtil.assembleApplication.

Modified:
    
sling/whiteboard/cziegeler/feature-modelconverter/src/main/java/org/apache/sling/feature/modelconverter/impl/Main.java

Modified: 
sling/whiteboard/cziegeler/feature-modelconverter/src/main/java/org/apache/sling/feature/modelconverter/impl/Main.java
URL: 
http://svn.apache.org/viewvc/sling/whiteboard/cziegeler/feature-modelconverter/src/main/java/org/apache/sling/feature/modelconverter/impl/Main.java?rev=1808097&r1=1808096&r2=1808097&view=diff
==============================================================================
--- 
sling/whiteboard/cziegeler/feature-modelconverter/src/main/java/org/apache/sling/feature/modelconverter/impl/Main.java
 (original)
+++ 
sling/whiteboard/cziegeler/feature-modelconverter/src/main/java/org/apache/sling/feature/modelconverter/impl/Main.java
 Tue Sep 12 09:51:16 2017
@@ -253,9 +253,9 @@ public class Main {
                         index++;
                     }
                 } else {
-                    final Application app = 
FeatureUtil.assembleApplication(null, files.stream()
+                    final Application app = 
FeatureUtil.assembleApplication(null, am, files.stream()
                             .map(File::getAbsolutePath)
-                            .collect(Collectors.toList()), am);
+                            .toArray(String[]::new));
                     convert(app, 0);
                 }
             } catch ( final IOException ioe) {


Reply via email to