Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DefaultDatabaseImpl.java clear()代码重复 #754

Closed
AzureFatty opened this issue Sep 4, 2017 · 2 comments
Closed

DefaultDatabaseImpl.java clear()代码重复 #754

AzureFatty opened this issue Sep 4, 2017 · 2 comments
Labels
Milestone

Comments

@AzureFatty
Copy link

156 157行代码重复

   @Override
    public void clear() {
        downloaderModelMap.clear();

        db.delete(TABLE_NAME, null, null);
        db.delete(TABLE_NAME, null, null);
    }

是不是要同时清空CONNECTION_TABLE_NAME 和TABLE_NAME的?

@nicai1900
Copy link

应该是写错了

@Jacksgong
Copy link
Collaborator

嗯,是的,感谢提醒,也欢迎下次直接PR~。

@Jacksgong Jacksgong added the bug label Sep 29, 2017
@Jacksgong Jacksgong added this to the 1.6.6 milestone Sep 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants