GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — QueryObserverTest: remove unused annotation, return value. · jamesagada/objectbox-java@d93fa5f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tests/objectbox-java-test/src/test/java/io/objectbox/query
    • QueryObserverTest.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tests/objectbox-java-test/src/test/java/io/objectbox/query/QueryObserverTest.java‎

Copy file name to clipboardExpand all lines: tests/objectbox-java-test/src/test/java/io/objectbox/query/QueryObserverTest.java
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.