-
-
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
Remove some unused methods. #8740
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@@ -14,13 +13,10 @@ | |||
@Dao | |||
public interface BasicDAO<Entity> { | |||
/* Inserts */ | |||
@Insert(onConflict = OnConflictStrategy.ABORT) |
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.
Why this change? Could you document such changes when you open a PR?
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.
Sorry, my bad. Updated the changelog.
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.
Other than the comment this looks good to me, I also wanted to do it
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.
Remove OnConflictStrategy.ABORT for the Room Insert annotation, as it is now the default value.
Oh ok, according to the source code blame, OnConflictStrategy.ABORT
has been the default at least since 2018.
What is it?
Description of the changes in your PR
HistoryRecordManager
and other locations.OnConflictStrategy.ABORT
for the RoomInsert
annotation, as it is now the default value.Before/After Screenshots/Screen Record
Fixes the following issue(s)
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.
Due diligence