-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Convert the abstract class DAOs to interfaces. #5462
Convert the abstract class DAOs to interfaces. #5462
Conversation
Just of curiosity: I know that since NP uses Java 8 now and therefore because of the |
Aside from the change you mentioned, no. |
679bc75
to
2aeccc0
Compare
|
||
@Insert(onConflict = OnConflictStrategy.IGNORE) | ||
abstract void silentInsertInternal(StreamStateEntity streamState); | ||
void silentInsertInternal(StreamStateEntity streamState); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only issue I see with this change is that "internal" methods like this one have to be public (all of an interface's members can be only public).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Private interface methods were introduced in Java 9.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Isira-Seneviratne indeed, you're right; I was not aware of that. However, we're using Java 8 here, so we still can't do that.
@TobiGr should this be merged or not? |
I think it is a reasonable change (in other word: yes) |
What is it?
Description of the changes in your PR
Due diligence