Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Unnecessary class NotificationDao.java? #1561

Open
kunzef opened this issue May 9, 2023 · 0 comments
Open

Unnecessary class NotificationDao.java? #1561

kunzef opened this issue May 9, 2023 · 0 comments
Assignees

Comments

@kunzef
Copy link
Contributor

kunzef commented May 9, 2023

I am currently digging a bit deeper into how the App handles notificatins and found the class NotificationDao.java. It seems this class is unnecessary as it has no real usage in the App. Below is a picture of the find usage function of AndroidStudio. Its only two imports are into TcaDb and the implementation TcaDb_Impl respectively.

image

In both classes NotificationDao is only used in the notificationDao() method. But this method is never called nor used elsewhere. I succesfully built and ran without the class. If nobody knows a reason why the class is necessary I would suggest removing it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants