Correct isEmpty syntax for collection check (#3881)
Fixed the syntax for checking if `filesToCompress` is empty by using `isEmpty()` instead of `isEmpty`. This ensures correct functionality when verifying if the collection has elements.
This commit is contained in:
@@ -31,7 +31,7 @@ object ZipUtil {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (filesToCompress.isEmpty) {
|
||||
if (filesToCompress.isEmpty()) {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user