Code alignement
This commit is contained in:
parent
f516231b9c
commit
5bdea2addc
@ -33,10 +33,10 @@ public class DeliveryDbAdapter extends ContentProvider {
|
|||||||
private static final UriMatcher uriMatcher;
|
private static final UriMatcher uriMatcher;
|
||||||
static {
|
static {
|
||||||
uriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
|
uriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
|
||||||
uriMatcher.addURI(PROVIDER_NAME, "delivery", ENTRIES);
|
uriMatcher.addURI(PROVIDER_NAME, "delivery" , ENTRIES);
|
||||||
uriMatcher.addURI(PROVIDER_NAME, "delivery/#", ENTRY_ID);
|
uriMatcher.addURI(PROVIDER_NAME, "delivery/#", ENTRY_ID);
|
||||||
uriMatcher.addURI(PROVIDER_NAME, "message", MESSAGES);
|
uriMatcher.addURI(PROVIDER_NAME, "message" , MESSAGES);
|
||||||
uriMatcher.addURI(PROVIDER_NAME, "message/#", MESSAGES_ID);
|
uriMatcher.addURI(PROVIDER_NAME, "message/#" , MESSAGES_ID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final String KEY_DELIVERY_ENTRY_ROWID = "_id";
|
public static final String KEY_DELIVERY_ENTRY_ROWID = "_id";
|
||||||
@ -92,8 +92,8 @@ public class DeliveryDbAdapter extends ContentProvider {
|
|||||||
KEY_DELIVERY_ENTRY_MESSAGE_ID);
|
KEY_DELIVERY_ENTRY_MESSAGE_ID);
|
||||||
|
|
||||||
sMessageProjectionMap.put(KEY_MESSAGE_ROWID, KEY_MESSAGE_ROWID);
|
sMessageProjectionMap.put(KEY_MESSAGE_ROWID, KEY_MESSAGE_ROWID);
|
||||||
sMessageProjectionMap.put(KEY_MESSAGE_NAME, KEY_MESSAGE_NAME);
|
sMessageProjectionMap.put(KEY_MESSAGE_NAME , KEY_MESSAGE_NAME);
|
||||||
sMessageProjectionMap.put(KEY_MESSAGE_DATE, KEY_MESSAGE_DATE);
|
sMessageProjectionMap.put(KEY_MESSAGE_DATE , KEY_MESSAGE_DATE);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class DeliveryDbHelper extends SQLiteOpenHelper {
|
private static class DeliveryDbHelper extends SQLiteOpenHelper {
|
||||||
|
Loading…
Reference in New Issue
Block a user