prefer_is_empty and prefer_is_not_empty (#8474)

This commit is contained in:
Alexandre Ardhuin
2017-03-02 07:17:30 +01:00
committed by Adam Barth
parent 2f002885cc
commit 69b6bb87d1
12 changed files with 20 additions and 20 deletions

View File

@@ -329,7 +329,7 @@ Directory _newTempDir() {
}
void _cleanupTempDirs() {
while (_tempDirs.length > 0) {
while (_tempDirs.isNotEmpty) {
_tempDirs.removeLast().deleteSync(recursive: true);
}
}