Skip to content

Commit

Permalink
Merge pull request #92 from lanzhuning/master
Browse files Browse the repository at this point in the history
修复空指针bug
  • Loading branch information
liyue2008 committed Jan 9, 2020
2 parents c1ea642 + 7eea83e commit 5aa4fcb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,9 @@ private List<String> getArchivedFileList() {
public int getLocalFileNum() {
File file = new File(baseDir);
String[] list = file.list();
if (list == null){
return 0;
}
return list.length;
}

Expand Down

0 comments on commit 5aa4fcb

Please sign in to comment.