bookkeeper
bookkeeper copied to clipboard
Fix documentation terminology and method usage
Motivation
- Incorrectly uses "Enumerator" when referring to the Java standard interface
java.util.Enumeration - Uses invalid method names (
hasNextElement()instead ofhasMoreElements(),entry.getId()instead ofentry.getEntryId())
Impact
- Misleads developers searching for non-existent
EnumeratorAPIs - Creates inconsistency with Java official documentation, reducing the professionalism of the document
- Uses incorrect API methods that would cause compilation errors
Changes
- Terminology corrections:
Replaced all
Enumeratorreferences withEnumeration - Method fixes:
- Corrected
hasNextElement()→hasMoreElements()in loop conditions - Fixed
entry.getId()→entry.getEntryId()for entry ID access - Added missing
@Overrideannotation in async callback
- Corrected