svn commit: r1866972 - /ofbiz/ofbiz-framework/trunk/common.gradle

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1866972 - /ofbiz/ofbiz-framework/trunk/common.gradle

mthl
Author: mthl
Date: Sun Sep 15 15:38:11 2019
New Revision: 1866972

URL: http://svn.apache.org/viewvc?rev=1866972&view=rev
Log:
Improved: Use spaces instead of tabs in “common.gradle”

Thanks: Samuel Trégouët for your contribution

Modified:
    ofbiz/ofbiz-framework/trunk/common.gradle

Modified: ofbiz/ofbiz-framework/trunk/common.gradle
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/common.gradle?rev=1866972&r1=1866971&r2=1866972&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/common.gradle (original)
+++ ofbiz/ofbiz-framework/trunk/common.gradle Sun Sep 15 15:38:11 2019
@@ -40,16 +40,16 @@ boolean isComponentEnabled(File componen
 
 List<File> activeComponents() {
     xmlChildren("${rootDir}/framework/base/config/component-load.xml")
- .map { "${rootDir}/" + it.@'parent-directory' }
+        .map { "${rootDir}/" + it.@'parent-directory' }
         .flatMap({ dir ->
-    File loader = file(dir + '/component-load.xml')
-    if (loader.exists()) {
- xmlChildren(loader).map { file dir + '/' + it.@'component-location' }
-    } else {
- subdirs file(dir)
-    }
- })
- .filter(this.&isComponentEnabled)
+            File loader = file(dir + '/component-load.xml')
+            if (loader.exists()) {
+                xmlChildren(loader).map { file dir + '/' + it.@'component-location' }
+            } else {
+                subdirs file(dir)
+            }
+        })
+        .filter(this.&isComponentEnabled)
         .collect(Collectors.toList()) + file("${rootDir}/framework/start")
 }