Skip to content

docs: align README (main and sub-modules) with existing code#30

Open
pmalirz wants to merge 1 commit into
mainfrom
fix-readme-alignment-8286994299612409059
Open

docs: align README (main and sub-modules) with existing code#30
pmalirz wants to merge 1 commit into
mainfrom
fix-readme-alignment-8286994299612409059

Conversation

@pmalirz

@pmalirz pmalirz commented Mar 18, 2026

Copy link
Copy Markdown
Owner

This submission addresses the user's request to "align README (main and sub-modules) with existing code".

Changes include:

  1. Main README.md (README.md): The SQL schema example for the H2 database previously listed CREATED_TIME DATETIME and EXPIRE_SEC int. However, the actual database scripts (e.g., dlock-jdbc/src/main/resources/db/H2-create.sql) and Java code expect TIMESTAMP and a long (BIGINT). This has been corrected to ensure developers create the correct schema if they implement it manually.
  2. dlock-api README.md (dlock-api/README.md): The code block documenting the KeyLock interface was out-of-sync with the actual KeyLock.java file. It was missing parameter documentation and the @throws io.github.pmalirz.dlock.api.exception.LockException statements. It has been updated to perfectly mirror the current Java interface.
  3. Javadoc Syntax Fix (dlock-api/src/main/java/io/github/pmalirz/dlock/api/KeyLock.java): A minor typo in the Javadoc ({@link Optional#empty}) was corrected to the proper method reference syntax ({@link Optional#empty()}).

All tests have been run and pass successfully.


PR created automatically by Jules for task 8286994299612409059 started by @pmalirz

- Updated the `DLCK` Table Schema (H2) example in the main README.md to accurately reflect the database script (`DATETIME` to `TIMESTAMP`, `int` to `BIGINT`).
- Updated the `KeyLock` interface documentation in `dlock-api/README.md` to precisely match the Javadocs in `KeyLock.java`, including `@throws LockException`.
- Fixed a minor Javadoc syntax issue in `KeyLock.java` (`{@link Optional#empty}` to `{@link Optional#empty()}`).

Co-authored-by: pmalirz <19637300+pmalirz@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

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