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 {
91
91
query .subscribe ().transform (new DataTransformer <List <TestEntity >, Integer >() {
92
92
93
93
@ Override
94
- @ SuppressWarnings ("NullableProblems" )
95
- public Integer transform (List <TestEntity > source ) throws Exception {
94
+ public Integer transform (List <TestEntity > source ) {
96
95
int sum = 0 ;
97
96
for (TestEntity entity : source ) {
98
97
sum += entity .getSimpleInt ();
@@ -118,8 +117,8 @@ public void onData(Integer data) {
118
117
assertEquals (2003 + 2007 + 2002 , (int ) receivedSums .get (1 ));
119
118
}
120
119
121
- private List < TestEntity > putTestEntitiesScalars () {
122
- return putTestEntities (10 , null , 2000 );
120
+ private void putTestEntitiesScalars () {
121
+ putTestEntities (10 , null , 2000 );
123
122
}
124
123
125
124
@ Override
You can’t perform that action at this time.
0 commit comments