Skip to content

Docs & naming cleanup for LongConverter family #1143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: adv/docs
Choose a base branch
from

Conversation

peter-lawrey
Copy link
Member

@peter-lawrey peter-lawrey commented Jun 2, 2025

📝 Docs & naming cleanup for LongConverter family

This PR is a zero-logic, comments-only refresh that brings the whole “symbol/power-of-two long encoding” stack up to Chronicle’s current documentation standards and aligns parameter names across the board.

What changed?

Module File(s) Summary
core AbstractLongConverter.java * Renamed ctor/method parameters (chars ➜ symbolSet, converter ➜ underlyingConverter, etc.) for intent clarity.
* Added full Javadoc for ctors and public methods; each param/return now explained.
LongConverter.java * Re-written class-level Javadoc with real-world example.
* Added/expanded docs for every method; clarified error handling & default impl caveats.
* Renamed local param names (text ➜ textToParse, value ➜ numericValue, etc.) to match spec.
LongConversion.java * Provided an extensive explanation and a usage snippet for custom marker annotations.
PowerOfTwoLongConverter.java
SymbolsLongConverter.java
* Synced param naming with the interface (no behavioural changes).
* In-line comments to make bit-shifts & truncation logic self-explanatory.
converter PowerOfTwoLongConverter, SymbolsLongConverter * Same renaming / doc polish as above.

No unit-test or runtime code paths were altered — all changes are limited to comments, parameter identifiers and log/exception text.

* Improve Javadoc for long conversion

* Enhance Javadoc for LongConversion to clarify converter class requirements

* Improve Javadoc for WireDumper and Wires classes to enhance clarity and understanding
@peter-lawrey peter-lawrey changed the title Adv/19 long converters Docs & naming cleanup for LongConverter family Jun 2, 2025
@peter-lawrey peter-lawrey requested a review from tgd June 3, 2025 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant