aboutsummaryrefslogtreecommitdiff
path: root/src/Locations/FoldersLocationService.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/Locations/FoldersLocationService.kt')
-rw-r--r--src/Locations/FoldersLocationService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Locations/FoldersLocationService.kt b/src/Locations/FoldersLocationService.kt
index 2e9a9cd5..e85c2c98 100644
--- a/src/Locations/FoldersLocationService.kt
+++ b/src/Locations/FoldersLocationService.kt
@@ -4,7 +4,7 @@ import java.io.File
public fun FoldersLocationService(root: String): FoldersLocationService = FoldersLocationService(File(root), "")
public class FoldersLocationService(val root: File, val extension: String) : FileLocationService {
- override fun withExtension(newExtension: String): LocationService {
+ override fun withExtension(newExtension: String): FileLocationService {
return if (extension.isEmpty()) FoldersLocationService(root, newExtension) else this
}