Skip to content

Commit c17d392

Browse files
committed
Improved: Use spaces instead of tabs in “common.gradle”
Thanks: Samuel Trégouët for your contribution git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1866972 13f79535-47bb-0310-9956-ffa450edef68
1 parent 3236e70 commit c17d392

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

common.gradle

+9-9
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ boolean isComponentEnabled(File componentDir) {
4040

4141
List<File> activeComponents() {
4242
xmlChildren("${rootDir}/framework/base/config/component-load.xml")
43-
.map { "${rootDir}/" + it.@'parent-directory' }
43+
.map { "${rootDir}/" + it.@'parent-directory' }
4444
.flatMap({ dir ->
45-
File loader = file(dir + '/component-load.xml')
46-
if (loader.exists()) {
47-
xmlChildren(loader).map { file dir + '/' + it.@'component-location' }
48-
} else {
49-
subdirs file(dir)
50-
}
51-
})
52-
.filter(this.&isComponentEnabled)
45+
File loader = file(dir + '/component-load.xml')
46+
if (loader.exists()) {
47+
xmlChildren(loader).map { file dir + '/' + it.@'component-location' }
48+
} else {
49+
subdirs file(dir)
50+
}
51+
})
52+
.filter(this.&isComponentEnabled)
5353
.collect(Collectors.toList()) + file("${rootDir}/framework/start")
5454
}
5555

0 commit comments

Comments
 (0)