Skip to content

Commit 4b50cc3

Browse files
committed
chore: remove redundant code in Application.kt
1 parent d0672bc commit 4b50cc3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/kotlin/net/azisaba/automaticbackupscript/Application.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import net.azisaba.automaticbackupscript.util.use
1212
import org.slf4j.Logger
1313
import org.slf4j.LoggerFactory
1414
import java.io.File
15-
import java.io.FileFilter
1615
import kotlin.time.Duration
1716
import kotlin.time.ExperimentalTime
1817
import kotlin.time.measureTime
@@ -173,7 +172,7 @@ class Application {
173172
duration =
174173
measureTime {
175174
result =
176-
file.listFiles(FileFilter { it.isDirectory })!!.all { child ->
175+
file.listFiles { it.isDirectory }!!.all { child ->
177176
try {
178177
command.add(child.absolutePath)
179178
val exitCode =

0 commit comments

Comments
 (0)