Skip to content
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

Refactor Signed-off-by: Pedro Simoes [email protected] #4759

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pedrinhoeu
Copy link

Improves the readability of the test. Replaces manual exception handling with the testing framework's built-in features (e.g., assertThrows), improving readability, maintainability, and debugging efficiency.


Thank you for contributing to JanusGraph!

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

For all changes:

  • Has your PR been rebased against the latest commit within the target branch (typically master)?
  • Is your initial contribution a single, squashed commit?

Improves the readability of the test. Replaces manual exception handling with the testing framework's built-in features (e.g., assertThrows), improving readability, maintainability, and debugging efficiency.
Copy link
Member

@li-boxuan li-boxuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@li-boxuan
Copy link
Member

Could you please sign your commit to pass DCO check? https://github.com/JanusGraph/janusgraph/pull/4759/checks?check_run_id=36459918966

Copy link
Member

@porunov porunov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for clean-up! You should also remove unused imports as lint suggested:

Error: /home/runner/work/janusgraph/janusgraph/janusgraph-backend-testutils/src/main/java/org/janusgraph/diskstorage/log/LogTest.java:43:15: Unused import - org.junit.jupiter.api.Assertions.fail. [UnusedImports]

@pedrinhoeu pedrinhoeu changed the title Refactor Refactor Signed-off-by: Pedro Simoes [email protected] Feb 4, 2025
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.

3 participants