Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
88ece6e
generate getters and setters for primitive list
zaki50 Sep 5, 2017
d86453f
empty commit for part9
zaki50 Sep 6, 2017
81d4061
implement logic for primitive list in RealmList
zaki50 Sep 6, 2017
14489f7
fix tests
zaki50 Sep 6, 2017
c48d399
fix annotation processor unit tests
zaki50 Sep 6, 2017
6c8b329
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 6, 2017
d4333f1
Merge branch 'my/primitive_list_7_Schema' into my/primitive_list_8_an…
zaki50 Sep 6, 2017
b305367
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 6, 2017
c48bee2
throw an exception if query or aggregation feature is used for primit…
zaki50 Sep 6, 2017
7c420cc
Merge branch 'my/primitive_list_7_Schema' into my/primitive_list_8_an…
zaki50 Sep 6, 2017
392a877
Merge branch 'my/primitive_list_7_Schema' into my/primitive_list_8_an…
zaki50 Sep 6, 2017
395fc8b
Merge branch 'my/primitive_list_7_Schema' into my/primitive_list_8_an…
zaki50 Sep 6, 2017
86bd3d4
fix tests
zaki50 Sep 6, 2017
a097d8f
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 6, 2017
ba3daaa
Merge branch 'my/primitive_list_7_Schema' into my/primitive_list_8_an…
zaki50 Sep 6, 2017
2b007a4
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 6, 2017
84aca51
address findbugs issues
zaki50 Sep 6, 2017
94b109b
added Javadoc comment and RealmList.toArray()
zaki50 Sep 6, 2017
04c04c1
fix bug
zaki50 Sep 7, 2017
c505b4d
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 7, 2017
c1d2396
implement Primitive List logic for copy() and insert()
zaki50 Sep 7, 2017
9654a68
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 7, 2017
5243cd6
implement Primitive List logic for insert(Realm, Iterator,...)
zaki50 Sep 7, 2017
36c23ec
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 7, 2017
7cc7ae5
generate code for primitive list in update(), insertOrUpdate()
zaki50 Sep 7, 2017
8fb4430
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 7, 2017
535563c
minor refactoring
zaki50 Sep 7, 2017
4e16256
Merge branch 'my/primitive_list_7_Schema' into my/primitive_list_8_an…
zaki50 Sep 7, 2017
3a9cc02
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 7, 2017
53d88ee
implement primitive list supprt for copyFromRealm()
zaki50 Sep 7, 2017
2715ce4
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 7, 2017
1464120
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 7, 2017
7e81516
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 7, 2017
b328e39
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 7, 2017
a43e1a7
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 8, 2017
b50a4d4
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 8, 2017
6738f1d
added a test to get field meta data of primitive lists
zaki50 Sep 8, 2017
af7cec4
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 8, 2017
965def3
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
beeender Sep 8, 2017
7c9ed74
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
beeender Sep 8, 2017
5d3e7b3
fix test
zaki50 Sep 8, 2017
0990d92
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 8, 2017
2f5d0f0
fix #5233
zaki50 Sep 9, 2017
b6f7930
move ManagedListOperator classes from the inside of RealmList to outside
zaki50 Sep 9, 2017
60aafd1
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 9, 2017
35dfd99
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 9, 2017
ac3beb0
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 11, 2017
6e83c90
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 11, 2017
ebac9c1
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 11, 2017
625c3d6
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 11, 2017
5955ef4
Implement special handling for byte[] in RealmList
zaki50 Sep 11, 2017
439c69a
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 11, 2017
4c6ac92
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 11, 2017
a0db053
avoid unnecessary looping
zaki50 Sep 11, 2017
b7ab7d7
use fqcn when makeing a string of value type.
zaki50 Sep 11, 2017
e837379
fix RealmList.toString()
zaki50 Sep 11, 2017
477845e
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 11, 2017
2183bc9
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 11, 2017
c7cf446
fix a bug
zaki50 Sep 12, 2017
3b74154
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 12, 2017
dfa644d
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 12, 2017
66557fd
fix bugs
zaki50 Sep 12, 2017
b4ff2e0
add instrumentation tests
zaki50 Sep 12, 2017
192f572
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 12, 2017
665a090
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 12, 2017
9df91fa
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 12, 2017
1bfcbec
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 12, 2017
0ad34c4
fix a bug that annotation processor always generates schema of primit…
zaki50 Sep 12, 2017
27f2212
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 12, 2017
f1cdcb6
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 12, 2017
87e6ed9
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 12, 2017
873ab52
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 12, 2017
ef24542
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 12, 2017
50a7ba8
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 12, 2017
375d3d9
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 12, 2017
676c6e3
fix implementation of RealmList.remove(Object)
zaki50 Sep 12, 2017
f354cea
fix RealmListTests
zaki50 Sep 12, 2017
57be25f
fix RealmListTests
zaki50 Sep 12, 2017
e35ff91
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 13, 2017
ab29e5d
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 13, 2017
4211526
added tests for 'copyToRealm()' and 'copyFromRealm()'
zaki50 Sep 13, 2017
f4c75f6
added tests for non-null primitive list
zaki50 Sep 13, 2017
d48107a
fix test
zaki50 Sep 13, 2017
067bd1f
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 13, 2017
e6549f7
use OsObjectSchemaInfo.addPersistedValueListProperty()
zaki50 Sep 13, 2017
072518d
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 13, 2017
637790e
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 13, 2017
2864ab1
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 13, 2017
65cb83c
fix test
zaki50 Sep 13, 2017
86561b5
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 13, 2017
69fbdf5
introduce Row.getModelList() and Row.getValueList() to check field ty…
zaki50 Sep 13, 2017
4f99c61
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 13, 2017
d0a0334
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 14, 2017
92d0765
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 14, 2017
ec053e0
Merge branch 'mc/primitive_list_10_oslist_JNI' into my/primitive_list…
zaki50 Sep 14, 2017
889f892
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 14, 2017
d4ee982
update test case to expose an issue
zaki50 Sep 14, 2017
b22c309
address review feedback
zaki50 Sep 14, 2017
d9707d7
add notice to Realm.*Json*()
zaki50 Sep 14, 2017
77d68cf
simplify Proxy's createDetachedCopy()
zaki50 Sep 14, 2017
a0fb560
Support listener on OsList
beeender Sep 14, 2017
4400ab3
stop to add backlink field into nullable field list
zaki50 Sep 14, 2017
8c9e60f
add comments to ClassMetaData.hasRequiredAnnotation() and ClassMetaD…
zaki50 Sep 14, 2017
557f216
move Utils.getRealmListElementTypeMirror() to TypeMirrors class.
zaki50 Sep 14, 2017
1fd1b00
fix exception message
zaki50 Sep 14, 2017
c036e8c
add class comment to TypeMirrors
zaki50 Sep 14, 2017
76cbde4
add TODO comment
zaki50 Sep 14, 2017
c1dc3f0
Merge branch 'feature/primitive_list' into my/primitive_list_8_annota…
zaki50 Sep 14, 2017
7f0ed76
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 14, 2017
3d611a7
Merge branch 'my/primitive_list_9_RealmList' into mc/primitive_list_1…
zaki50 Sep 14, 2017
88b4b66
Merge branch 'feature/primitive_list' into my/primitive_list_8_annota…
zaki50 Sep 14, 2017
3241a87
Merge branch 'my/primitive_list_8_annotation_processor' into my/primi…
zaki50 Sep 14, 2017
ef2aa91
Merge branch 'my/primitive_list_9_RealmList' into mc/primitive_list_1…
zaki50 Sep 14, 2017
70d83aa
Merge branch 'feature/primitive_list' into my/primitive_list_9_RealmList
zaki50 Sep 15, 2017
e179fd5
Merge branch 'my/primitive_list_9_RealmList' into mc/primitive_list_1…
zaki50 Sep 15, 2017
db550a7
remove outdate comment
zaki50 Sep 15, 2017
078041a
fix todo comment
zaki50 Sep 15, 2017
7874296
fix failing test
zaki50 Sep 16, 2017
eebf152
remove methods to return primitive array
zaki50 Sep 16, 2017
fda1d0e
Merge branch 'feature/primitive_list' into my/primitive_list_9_RealmList
zaki50 Sep 16, 2017
ae6e91d
Merge branch 'my/primitive_list_9_RealmList' into mc/primitive_list_1…
zaki50 Sep 16, 2017
bb43a16
Using constans defined in Table class
zaki50 Sep 16, 2017
4f5cb68
use assertArrayEquals() instead of assertTrue(Arrays.equals())
zaki50 Sep 16, 2017
5e0b43c
add changelog entry about removed methods
zaki50 Sep 16, 2017
a3e2407
remove unused code
zaki50 Sep 16, 2017
b7d0167
update comment
zaki50 Sep 16, 2017
f27b2a2
remove comment
zaki50 Sep 16, 2017
e9e960d
update exception message
zaki50 Sep 18, 2017
4acc4a2
update thrown.expectMessage() to check exception message
zaki50 Sep 18, 2017
676a11b
fix test case name
zaki50 Sep 18, 2017
b33bb8e
add assertion for remove/removeAll
zaki50 Sep 18, 2017
b7b59bd
update RealmList.toString()
zaki50 Sep 18, 2017
a12c0c3
update exception message
zaki50 Sep 18, 2017
88ed4ba
fix failing tests
zaki50 Sep 18, 2017
06d562d
remove special handling to byte array in RealmList
zaki50 Sep 18, 2017
40b1ac2
remove special type conversion via Number in toArray()
zaki50 Sep 18, 2017
5817352
Merge branch 'my/primitive_list_9_RealmList' into mc/primitive_list_1…
zaki50 Sep 18, 2017
4ff447d
fix failing tests
zaki50 Sep 18, 2017
90affd1
remove unnecessary index checks
zaki50 Sep 18, 2017
38bd2bc
refactor ManagedListOperator and its sub-classes
zaki50 Sep 19, 2017
c871e8a
use thrown.expectMessage()
zaki50 Sep 19, 2017
93a4037
add Javadoc comments to ManagedListOperator and its subclasses
zaki50 Sep 19, 2017
e4de8b3
Merge branch 'feature/primitive_list' into my/primitive_list_9_RealmList
zaki50 Sep 19, 2017
d798e2d
Merge branch 'my/primitive_list_9_RealmList' into mc/primitive_list_1…
zaki50 Sep 19, 2017
c50e0a3
address review comments
zaki50 Sep 19, 2017
a1f3d7b
Merge branch 'my/primitive_list_9_RealmList' into mc/primitive_list_1…
zaki50 Sep 19, 2017
9b691ac
Merge branch 'feature/primitive_list' into mc/primitive_list_13_Liste…
zaki50 Sep 19, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
Expand Down Expand Up @@ -57,6 +56,7 @@
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
Expand Down Expand Up @@ -1072,7 +1072,8 @@ public void onChange(RealmList<Object> element) {
//noinspection unchecked
list.addChangeListener(new OrderedRealmCollectionChangeListener<RealmList<Object>>() {
@Override
public void onChange(RealmList<Object> collection, OrderedCollectionChangeSet changes) {
public void onChange(RealmList<Object> collection, @Nullable OrderedCollectionChangeSet changes) {
assertNotNull(changes);
assertEquals(1, changes.getInsertions().length);
assertEquals(0, changes.getDeletions().length);
assertEquals(0, changes.getChanges().length);
Expand All @@ -1091,7 +1092,6 @@ public void onChange(RealmList<Object> collection, OrderedCollectionChangeSet ch
}

@Test
@Ignore("unexpected fail. Unexpected insertion index.")
@RunTestInLooperThread
public void changeListener_forAddAt() {
Realm realm = looperThread.getRealm();
Expand Down Expand Up @@ -1122,7 +1122,8 @@ public void onChange(RealmList<Object> element) {
//noinspection unchecked
list.addChangeListener(new OrderedRealmCollectionChangeListener<RealmList<Object>>() {
@Override
public void onChange(RealmList<Object> collection, OrderedCollectionChangeSet changes) {
public void onChange(RealmList<Object> collection, @Nullable OrderedCollectionChangeSet changes) {
assertNotNull(changes);
assertEquals(1, changes.getInsertions().length);
assertEquals(0, changes.getDeletions().length);
assertEquals(0, changes.getChanges().length);
Expand All @@ -1141,7 +1142,6 @@ public void onChange(RealmList<Object> collection, OrderedCollectionChangeSet ch
}

@Test
@Ignore("unexpected fail. Listener never be called.")
@RunTestInLooperThread
public void changeListener_forSet() {
Realm realm = looperThread.getRealm();
Expand Down Expand Up @@ -1172,7 +1172,8 @@ public void onChange(RealmList<Object> element) {
//noinspection unchecked
list.addChangeListener(new OrderedRealmCollectionChangeListener<RealmList<Object>>() {
@Override
public void onChange(RealmList<Object> collection, OrderedCollectionChangeSet changes) {
public void onChange(RealmList<Object> collection, @Nullable OrderedCollectionChangeSet changes) {
assertNotNull(changes);
assertEquals(0, changes.getInsertions().length);
assertEquals(0, changes.getDeletions().length);
assertEquals(1, changes.getChanges().length);
Expand All @@ -1191,7 +1192,6 @@ public void onChange(RealmList<Object> collection, OrderedCollectionChangeSet ch
}

@Test
@Ignore("unexpected fail. Unexpected deletion index.")
@RunTestInLooperThread
public void changeListener_forRemoveAt() {
Realm realm = looperThread.getRealm();
Expand Down Expand Up @@ -1222,7 +1222,8 @@ public void onChange(RealmList<Object> element) {
//noinspection unchecked
list.addChangeListener(new OrderedRealmCollectionChangeListener<RealmList<Object>>() {
@Override
public void onChange(RealmList<Object> collection, OrderedCollectionChangeSet changes) {
public void onChange(RealmList<Object> collection, @Nullable OrderedCollectionChangeSet changes) {
assertNotNull(changes);
assertEquals(0, changes.getInsertions().length);
assertEquals(1, changes.getDeletions().length);
assertEquals(0, changes.getChanges().length);
Expand All @@ -1233,17 +1234,26 @@ public void onChange(RealmList<Object> collection, OrderedCollectionChangeSet ch

realm.beginTransaction();
//noinspection unchecked
assertEquals(generateValue(listType, 100), list.remove(1));
if (listType == BINARY_LIST) {
assertArrayEquals((byte[]) generateValue(listType, 100), (byte[]) list.remove(1));
} else {
assertEquals(generateValue(listType, 100), list.remove(1));
}
realm.commitTransaction();

assertEquals(2, listenerCalledCount.get());
looperThread.testComplete();
}

@Test
@Ignore("unexpected fail. Unexpected deletion index.")
@RunTestInLooperThread
public void changeListener_forRemoveObject() {
if (listType == BINARY_LIST) {
// 'removeAll()' never remove byte array element since 'equals()' never return true against byte array.
looperThread.testComplete();
return;
}

Realm realm = looperThread.getRealm();
realm.executeTransaction(new Realm.Transaction() {
@Override
Expand All @@ -1255,7 +1265,7 @@ public void execute(Realm realm) {
//noinspection unchecked
list.add(generateValue(listType, 0));
//noinspection unchecked
list.add(generateValue(listType, 100));
list.add(generateValue(listType, 101));
//noinspection unchecked
list.add(generateValue(listType, 200));
}
Expand All @@ -1272,8 +1282,8 @@ public void onChange(RealmList<Object> element) {
//noinspection unchecked
list.addChangeListener(new OrderedRealmCollectionChangeListener<RealmList<Object>>() {
@Override
public void onChange(RealmList<Object> collection, OrderedCollectionChangeSet changes) {
assertEquals(1, changes.getInsertions().length);
public void onChange(RealmList<Object> collection, @Nullable OrderedCollectionChangeSet changes) {
assertNotNull(changes);
assertEquals(0, changes.getInsertions().length);
assertEquals(1, changes.getDeletions().length);
assertEquals(0, changes.getChanges().length);
Expand All @@ -1284,7 +1294,7 @@ public void onChange(RealmList<Object> collection, OrderedCollectionChangeSet ch

realm.beginTransaction();
//noinspection unchecked
assertTrue(list.remove(generateValue(listType, 100)));
assertTrue(list.remove(generateValue(listType, 101)));
realm.commitTransaction();

assertEquals(2, listenerCalledCount.get());
Expand Down Expand Up @@ -1328,7 +1338,8 @@ public void onChange(RealmList<Object> element) {
//noinspection unchecked
list.addChangeListener(new OrderedRealmCollectionChangeListener<RealmList<Object>>() {
@Override
public void onChange(RealmList<Object> collection, OrderedCollectionChangeSet changes) {
public void onChange(RealmList<Object> collection, @Nullable OrderedCollectionChangeSet changes) {
assertNotNull(changes);
assertEquals(0, changes.getInsertions().length);
assertEquals(listType == BOOLEAN_LIST ? 3 : 2, changes.getDeletions().length);
assertEquals(0, changes.getChanges().length);
Expand All @@ -1351,7 +1362,6 @@ public void onChange(RealmList<Object> collection, OrderedCollectionChangeSet ch
}

@Test
@Ignore("unexpected fail. Unexpected deletion index.")
@RunTestInLooperThread
public void changeListener_forDeleteAt() {
Realm realm = looperThread.getRealm();
Expand Down Expand Up @@ -1382,7 +1392,8 @@ public void onChange(RealmList<Object> element) {
//noinspection unchecked
list.addChangeListener(new OrderedRealmCollectionChangeListener<RealmList<Object>>() {
@Override
public void onChange(RealmList<Object> collection, OrderedCollectionChangeSet changes) {
public void onChange(RealmList<Object> collection, @Nullable OrderedCollectionChangeSet changes) {
assertNotNull(changes);
assertEquals(0, changes.getInsertions().length);
assertEquals(1, changes.getDeletions().length);
assertEquals(0, changes.getChanges().length);
Expand Down Expand Up @@ -1431,7 +1442,8 @@ public void onChange(RealmList<Object> element) {
//noinspection unchecked
list.addChangeListener(new OrderedRealmCollectionChangeListener<RealmList<Object>>() {
@Override
public void onChange(RealmList<Object> collection, OrderedCollectionChangeSet changes) {
public void onChange(RealmList<Object> collection, @Nullable OrderedCollectionChangeSet changes) {
assertNotNull(changes);
assertEquals(0, changes.getInsertions().length);
assertEquals(3, changes.getDeletions().length);
assertEquals(0, changes.getChanges().length);
Expand Down Expand Up @@ -1473,7 +1485,7 @@ public void onChange(RealmList<Object> element) {
//noinspection unchecked
list.addChangeListener(new OrderedRealmCollectionChangeListener<RealmList<Object>>() {
@Override
public void onChange(RealmList<Object> collection, OrderedCollectionChangeSet changes) {
public void onChange(RealmList<Object> collection, @Nullable OrderedCollectionChangeSet changes) {
fail();
}
});
Expand Down Expand Up @@ -1523,7 +1535,7 @@ public void onChange(RealmList<Object> element) {
OrderedRealmCollectionChangeListener<RealmList<Object>> listener2 =
new OrderedRealmCollectionChangeListener<RealmList<Object>>() {
@Override
public void onChange(RealmList<Object> collection, OrderedCollectionChangeSet changes) {
public void onChange(RealmList<Object> collection, @Nullable OrderedCollectionChangeSet changes) {
assertEquals(0, listenerCalledCount.getAndIncrement());
looperThread.testComplete();
}
Expand Down
Loading