File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
tests/objectbox-java-test/src/test/java/io/objectbox/query Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -91,8 +91,7 @@ public void testTransformer() throws InterruptedException {
9191 query .subscribe ().transform (new DataTransformer <List <TestEntity >, Integer >() {
9292
9393 @ Override
94- @ SuppressWarnings ("NullableProblems" )
95- public Integer transform (List <TestEntity > source ) throws Exception {
94+ public Integer transform (List <TestEntity > source ) {
9695 int sum = 0 ;
9796 for (TestEntity entity : source ) {
9897 sum += entity .getSimpleInt ();
@@ -118,8 +117,8 @@ public void onData(Integer data) {
118117 assertEquals (2003 + 2007 + 2002 , (int ) receivedSums .get (1 ));
119118 }
120119
121- private List < TestEntity > putTestEntitiesScalars () {
122- return putTestEntities (10 , null , 2000 );
120+ private void putTestEntitiesScalars () {
121+ putTestEntities (10 , null , 2000 );
123122 }
124123
125124 @ Override
You can’t perform that action at this time.
0 commit comments