mirror of
https://github.com/google/nomulus
synced 2026-07-23 08:22:27 +00:00
e2dfb6488d
Since we rarely (if ever) want to check the result of a single element load, make TransactionManager.load(VKey) return non-optional, non-nullable and just throw a NoSuchElementException if the entity is not found. Also add a maybeLoad() that does return an optional in case we ever want to do this (exists() should suffice for an existence check).