Browse Source
Callers can now say: db.getRefDatabase().hasRefs() rather than the more verbose: !db.getRefDatabase().getAllRefs().isEmpty() The default implementation simply uses getAllRefs().isEmpty(), but a derived class could possibly override the method with a more efficient implementation. Change-Id: I5244520708a1a7d9adb351f10e43fc39d98e22a1 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>stable-5.0
David Pursehouse
7 years ago
committed by
Matthias Sohn
2 changed files with 13 additions and 1 deletions
Loading…
Reference in new issue