mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-27 04:17:57 +01:00
Minor changes again
This commit is contained in:
@@ -7,7 +7,7 @@ import com.pushtorefresh.storio.sqlite.StorIOSQLite;
|
||||
import com.pushtorefresh.storio.sqlite.impl.DefaultStorIOSQLite;
|
||||
import com.pushtorefresh.storio.sqlite.operations.delete.DeleteResult;
|
||||
import com.pushtorefresh.storio.sqlite.operations.delete.DeleteResults;
|
||||
import com.pushtorefresh.storio.sqlite.operations.post.PostResult;
|
||||
import eu.kanade.mangafeed.util.PostResult;
|
||||
import com.pushtorefresh.storio.sqlite.operations.put.PutResult;
|
||||
import com.pushtorefresh.storio.sqlite.operations.put.PutResults;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ package eu.kanade.mangafeed.data.managers;
|
||||
|
||||
import com.pushtorefresh.storio.sqlite.operations.delete.DeleteResult;
|
||||
import com.pushtorefresh.storio.sqlite.operations.delete.DeleteResults;
|
||||
import com.pushtorefresh.storio.sqlite.operations.post.PostResult;
|
||||
import eu.kanade.mangafeed.util.PostResult;
|
||||
import com.pushtorefresh.storio.sqlite.operations.put.PutResult;
|
||||
import com.pushtorefresh.storio.sqlite.operations.put.PutResults;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import com.pushtorefresh.storio.sqlite.StorIOSQLite;
|
||||
import com.pushtorefresh.storio.sqlite.operations.delete.DeleteResult;
|
||||
import com.pushtorefresh.storio.sqlite.operations.delete.DeleteResults;
|
||||
import com.pushtorefresh.storio.sqlite.operations.get.PreparedGetListOfObjects;
|
||||
import com.pushtorefresh.storio.sqlite.operations.post.PostResult;
|
||||
import eu.kanade.mangafeed.util.PostResult;
|
||||
import com.pushtorefresh.storio.sqlite.operations.put.PutResult;
|
||||
import com.pushtorefresh.storio.sqlite.operations.put.PutResults;
|
||||
import com.pushtorefresh.storio.sqlite.queries.Query;
|
||||
|
||||
@@ -2,7 +2,7 @@ package eu.kanade.mangafeed.presenter;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
import com.pushtorefresh.storio.sqlite.operations.post.PostResult;
|
||||
import eu.kanade.mangafeed.util.PostResult;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
36
app/src/main/java/eu/kanade/mangafeed/util/PostResult.java
Normal file
36
app/src/main/java/eu/kanade/mangafeed/util/PostResult.java
Normal file
@@ -0,0 +1,36 @@
|
||||
package eu.kanade.mangafeed.util;
|
||||
|
||||
import android.support.annotation.Nullable;
|
||||
|
||||
public class PostResult {
|
||||
|
||||
@Nullable
|
||||
private final Integer numberOfRowsUpdated;
|
||||
|
||||
@Nullable
|
||||
private final Integer numberOfRowsInserted;
|
||||
|
||||
@Nullable
|
||||
private final Integer numberOfRowsDeleted;
|
||||
|
||||
public PostResult(Integer numberOfRowsUpdated, Integer numberOfRowsInserted, Integer numberOfRowsDeleted) {
|
||||
this.numberOfRowsUpdated = numberOfRowsUpdated;
|
||||
this.numberOfRowsInserted = numberOfRowsInserted;
|
||||
this.numberOfRowsDeleted = numberOfRowsDeleted;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public Integer getNumberOfRowsUpdated() {
|
||||
return numberOfRowsUpdated;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public Integer getNumberOfRowsInserted() {
|
||||
return numberOfRowsInserted;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public Integer getNumberOfRowsDeleted() {
|
||||
return numberOfRowsDeleted;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user