Description
The following method is named "lookupRecord".
"lookupRecord" seems to find a related record.
But the method is checking whether recordsSnapshot contains the id or not.
Thus, the method name "containsRecord" is more intuitive than "lookupRecord".
public boolean lookupRecord(final long id) { return recordsSnapshot.contains(id); }
Attachments
Issue Links
- links to