Skip to content

Commit 892b2dd

Browse files
committed
remove Box.getAll2()
1 parent 39fa55a commit 892b2dd

File tree

1 file changed

+0
-11
lines changed
  • objectbox-java/src/main/java/io/objectbox

1 file changed

+0
-11
lines changed

objectbox-java/src/main/java/io/objectbox/Box.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -346,17 +346,6 @@ public List<T> getAll() {
346346
}
347347
}
348348

349-
/** Does not work yet, also probably won't be faster than {@link Box#getAll()}. */
350-
@Temporary
351-
public List<T> getAll2() {
352-
Cursor<T> reader = getReader();
353-
try {
354-
return reader.getAll();
355-
} finally {
356-
releaseReader(reader);
357-
}
358-
}
359-
360349
/**
361350
* Puts the given object in the box (aka persisting it). If this is a new entity (its ID property is 0), a new ID
362351
* will be assigned to the entity (and returned). If the entity was already put in the box before, it will be

0 commit comments

Comments
 (0)