Loading opentasks-contract/src/main/java/org/dmfs/tasks/contract/UriFactory.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -34,7 +34,7 @@ public final class UriFactory UriFactory(String authority) UriFactory(String authority) { { mAuthority = authority; mAuthority = authority; mUriMap.put((String) null, Uri.parse("content://" + authority)); mUriMap.put(null, Uri.parse("content://" + authority)); } } Loading opentasks-provider/src/androidTest/java/org/dmfs/provider/tasks/TaskProviderInstancesTest.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -280,7 +280,7 @@ public class TaskProviderInstancesTest * Create a single instance and insert an override for a new instance, turning the event into a recurring event. * Create a single instance and insert an override for a new instance, turning the event into a recurring event. */ */ @Test @Test public void testInsertSingleInstanceAddAnother() throws RemoteException, OperationApplicationException public void testInsertSingleInstanceAddAnother() { { RowSnapshot<TaskLists> taskList = new VirtualRowSnapshot<>(new LocalTaskListsTable(mAuthority)); RowSnapshot<TaskLists> taskList = new VirtualRowSnapshot<>(new LocalTaskListsTable(mAuthority)); RowSnapshot<Tasks> task = new VirtualRowSnapshot<>(new TasksTable(mAuthority)); RowSnapshot<Tasks> task = new VirtualRowSnapshot<>(new TasksTable(mAuthority)); Loading opentasks-provider/src/main/java/org/dmfs/provider/tasks/ContentOperation.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -308,7 +308,7 @@ public enum ContentOperation private static final String PREFS_KEY_LAST_ALARM_TIMESTAMP = "org.dmfs.provider.tasks.prefs.LAST_ALARM_TIMESTAMP"; private static final String PREFS_KEY_LAST_ALARM_TIMESTAMP = "org.dmfs.provider.tasks.prefs.LAST_ALARM_TIMESTAMP"; private ContentOperation(OperationHandler handler) ContentOperation(OperationHandler handler) { { mHandler = handler; mHandler = handler; } } Loading Loading @@ -420,7 +420,7 @@ public enum ContentOperation public interface OperationHandler public interface OperationHandler { { public void handleOperation(Context context, Uri uri, SQLiteDatabase db, ContentValues values); void handleOperation(Context context, Uri uri, SQLiteDatabase db, ContentValues values); } } } } opentasks-provider/src/main/java/org/dmfs/provider/tasks/FTSDatabaseHelper.java +10 −10 Original line number Original line Diff line number Diff line Loading @@ -66,22 +66,22 @@ public class FTSDatabaseHelper /** /** * The row id of the belonging task. * The row id of the belonging task. */ */ public static final String TASK_ID = "fts_task_id"; String TASK_ID = "fts_task_id"; /** /** * The the property id of the searchable entry or <code>null</code> if the entry is not related to a property. * The the property id of the searchable entry or <code>null</code> if the entry is not related to a property. */ */ public static final String PROPERTY_ID = "fts_property_id"; String PROPERTY_ID = "fts_property_id"; /** /** * The the type of the searchable entry * The the type of the searchable entry */ */ public static final String TYPE = "fts_type"; String TYPE = "fts_type"; /** /** * An n-gram for a task. * An n-gram for a task. */ */ public static final String NGRAM_ID = "fts_ngram_id"; String NGRAM_ID = "fts_ngram_id"; } } Loading @@ -96,12 +96,12 @@ public class FTSDatabaseHelper /** /** * The row id of the N-gram. * The row id of the N-gram. */ */ public static final String NGRAM_ID = "ngram_id"; String NGRAM_ID = "ngram_id"; /** /** * The content of the N-gram * The content of the N-gram */ */ public static final String TEXT = "ngram_text"; String TEXT = "ngram_text"; } } Loading Loading @@ -154,22 +154,22 @@ public class FTSDatabaseHelper /** /** * This is an entry for the title of a task. * This is an entry for the title of a task. */ */ public static final int TITLE = 1; int TITLE = 1; /** /** * This is an entry for the description of a task. * This is an entry for the description of a task. */ */ public static final int DESCRIPTION = 2; int DESCRIPTION = 2; /** /** * This is an entry for the location of a task. * This is an entry for the location of a task. */ */ public static final int LOCATION = 3; int LOCATION = 3; /** /** * This is an entry for a property of a task. * This is an entry for a property of a task. */ */ public static final int PROPERTY = 4; int PROPERTY = 4; } } Loading opentasks-provider/src/main/java/org/dmfs/provider/tasks/ProviderOperation.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -35,5 +35,5 @@ public enum ProviderOperation /** /** * Delete operations. * Delete operations. */ */ DELETE; DELETE } } Loading
opentasks-contract/src/main/java/org/dmfs/tasks/contract/UriFactory.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -34,7 +34,7 @@ public final class UriFactory UriFactory(String authority) UriFactory(String authority) { { mAuthority = authority; mAuthority = authority; mUriMap.put((String) null, Uri.parse("content://" + authority)); mUriMap.put(null, Uri.parse("content://" + authority)); } } Loading
opentasks-provider/src/androidTest/java/org/dmfs/provider/tasks/TaskProviderInstancesTest.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -280,7 +280,7 @@ public class TaskProviderInstancesTest * Create a single instance and insert an override for a new instance, turning the event into a recurring event. * Create a single instance and insert an override for a new instance, turning the event into a recurring event. */ */ @Test @Test public void testInsertSingleInstanceAddAnother() throws RemoteException, OperationApplicationException public void testInsertSingleInstanceAddAnother() { { RowSnapshot<TaskLists> taskList = new VirtualRowSnapshot<>(new LocalTaskListsTable(mAuthority)); RowSnapshot<TaskLists> taskList = new VirtualRowSnapshot<>(new LocalTaskListsTable(mAuthority)); RowSnapshot<Tasks> task = new VirtualRowSnapshot<>(new TasksTable(mAuthority)); RowSnapshot<Tasks> task = new VirtualRowSnapshot<>(new TasksTable(mAuthority)); Loading
opentasks-provider/src/main/java/org/dmfs/provider/tasks/ContentOperation.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -308,7 +308,7 @@ public enum ContentOperation private static final String PREFS_KEY_LAST_ALARM_TIMESTAMP = "org.dmfs.provider.tasks.prefs.LAST_ALARM_TIMESTAMP"; private static final String PREFS_KEY_LAST_ALARM_TIMESTAMP = "org.dmfs.provider.tasks.prefs.LAST_ALARM_TIMESTAMP"; private ContentOperation(OperationHandler handler) ContentOperation(OperationHandler handler) { { mHandler = handler; mHandler = handler; } } Loading Loading @@ -420,7 +420,7 @@ public enum ContentOperation public interface OperationHandler public interface OperationHandler { { public void handleOperation(Context context, Uri uri, SQLiteDatabase db, ContentValues values); void handleOperation(Context context, Uri uri, SQLiteDatabase db, ContentValues values); } } } }
opentasks-provider/src/main/java/org/dmfs/provider/tasks/FTSDatabaseHelper.java +10 −10 Original line number Original line Diff line number Diff line Loading @@ -66,22 +66,22 @@ public class FTSDatabaseHelper /** /** * The row id of the belonging task. * The row id of the belonging task. */ */ public static final String TASK_ID = "fts_task_id"; String TASK_ID = "fts_task_id"; /** /** * The the property id of the searchable entry or <code>null</code> if the entry is not related to a property. * The the property id of the searchable entry or <code>null</code> if the entry is not related to a property. */ */ public static final String PROPERTY_ID = "fts_property_id"; String PROPERTY_ID = "fts_property_id"; /** /** * The the type of the searchable entry * The the type of the searchable entry */ */ public static final String TYPE = "fts_type"; String TYPE = "fts_type"; /** /** * An n-gram for a task. * An n-gram for a task. */ */ public static final String NGRAM_ID = "fts_ngram_id"; String NGRAM_ID = "fts_ngram_id"; } } Loading @@ -96,12 +96,12 @@ public class FTSDatabaseHelper /** /** * The row id of the N-gram. * The row id of the N-gram. */ */ public static final String NGRAM_ID = "ngram_id"; String NGRAM_ID = "ngram_id"; /** /** * The content of the N-gram * The content of the N-gram */ */ public static final String TEXT = "ngram_text"; String TEXT = "ngram_text"; } } Loading Loading @@ -154,22 +154,22 @@ public class FTSDatabaseHelper /** /** * This is an entry for the title of a task. * This is an entry for the title of a task. */ */ public static final int TITLE = 1; int TITLE = 1; /** /** * This is an entry for the description of a task. * This is an entry for the description of a task. */ */ public static final int DESCRIPTION = 2; int DESCRIPTION = 2; /** /** * This is an entry for the location of a task. * This is an entry for the location of a task. */ */ public static final int LOCATION = 3; int LOCATION = 3; /** /** * This is an entry for a property of a task. * This is an entry for a property of a task. */ */ public static final int PROPERTY = 4; int PROPERTY = 4; } } Loading
opentasks-provider/src/main/java/org/dmfs/provider/tasks/ProviderOperation.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -35,5 +35,5 @@ public enum ProviderOperation /** /** * Delete operations. * Delete operations. */ */ DELETE; DELETE } }