bookkeeper icon indicating copy to clipboard operation
bookkeeper copied to clipboard

Fix documentation terminology and method usage

Open liangyepianzhou opened this issue 6 months ago • 0 comments

Motivation

  1. Incorrectly uses "Enumerator" when referring to the Java standard interface java.util.Enumeration
  2. Uses invalid method names (hasNextElement() instead of hasMoreElements(), entry.getId() instead of entry.getEntryId())

Impact

  1. Misleads developers searching for non-existent Enumerator APIs
  2. Creates inconsistency with Java official documentation, reducing the professionalism of the document
  3. Uses incorrect API methods that would cause compilation errors

Changes

  1. Terminology corrections: Replaced all Enumerator references with Enumeration
  2. Method fixes:
    • Corrected hasNextElement()hasMoreElements() in loop conditions
    • Fixed entry.getId()entry.getEntryId() for entry ID access
    • Added missing @Override annotation in async callback

liangyepianzhou avatar Jun 11 '25 12:06 liangyepianzhou