aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/SubredditDatabase/SubredditRepository.java
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/src/main/java/SubredditDatabase/SubredditRepository.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/SubredditDatabase/SubredditRepository.java b/app/src/main/java/SubredditDatabase/SubredditRepository.java
index 495f6e3d..4e435da9 100644
--- a/app/src/main/java/SubredditDatabase/SubredditRepository.java
+++ b/app/src/main/java/SubredditDatabase/SubredditRepository.java
@@ -20,14 +20,14 @@ public class SubredditRepository {
}
public void insert(SubredditData subredditData) {
- new SubredditRepository.insertAsyncTask(mSubredditDao).execute(subredditData);
+ new InsertAsyncTask(mSubredditDao).execute(subredditData);
}
- private static class insertAsyncTask extends AsyncTask<SubredditData, Void, Void> {
+ private static class InsertAsyncTask extends AsyncTask<SubredditData, Void, Void> {
private SubredditDao mAsyncTaskDao;
- insertAsyncTask(SubredditDao dao) {
+ InsertAsyncTask(SubredditDao dao) {
mAsyncTaskDao = dao;
}