mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Typo Fix
This commit is contained in:
parent
2260078fa7
commit
6228c613b7
1 changed files with 3 additions and 3 deletions
|
|
@ -15,7 +15,7 @@ import org.wikimedia.commons.data.DBOpenHelper;
|
|||
public class ContributionsContentProvider extends ContentProvider{
|
||||
|
||||
private static final int CONTRIBUTIONS = 1;
|
||||
private static final int CONTRIBUtiONS_ID = 2;
|
||||
private static final int CONTRIBUTIONS_ID = 2;
|
||||
|
||||
public static final String AUTHORITY = "org.wikimedia.commons.contributions.contentprovider";
|
||||
private static final String BASE_PATH = "contributions";
|
||||
|
|
@ -25,7 +25,7 @@ public class ContributionsContentProvider extends ContentProvider{
|
|||
private static final UriMatcher uriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
|
||||
static {
|
||||
uriMatcher.addURI(AUTHORITY, BASE_PATH, CONTRIBUTIONS);
|
||||
uriMatcher.addURI(AUTHORITY, BASE_PATH + "/*", CONTRIBUtiONS_ID);
|
||||
uriMatcher.addURI(AUTHORITY, BASE_PATH + "/*", CONTRIBUTIONS_ID);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -98,7 +98,7 @@ public class ContributionsContentProvider extends ContentProvider{
|
|||
selection,
|
||||
selectionArgs);
|
||||
break;
|
||||
case CONTRIBUtiONS_ID:
|
||||
case CONTRIBUTIONS_ID:
|
||||
String id = uri.getLastPathSegment();
|
||||
|
||||
if (TextUtils.isEmpty(selection)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue