Skip to content

Simplify fixedLength method by removing deprecated builder chaining#10

Merged
ehayik merged 1 commit intomasterfrom
ref/revert-deprecated-method
Jun 10, 2025
Merged

Simplify fixedLength method by removing deprecated builder chaining#10
ehayik merged 1 commit intomasterfrom
ref/revert-deprecated-method

Conversation

@ehayik
Copy link
Owner

@ehayik ehayik commented Jun 8, 2025

Why

To update the implementation of Masker#fixedLength(int fixedLength) factory method.
It removes a deprecated annotation and adjusts the method return type and usage accordingly.

How

  • Removed the @Deprecated annotation and updated the fixedLength(int fixedLength) method in Masker to return a builder instead of a completed masker instance.
  • Updated the tests in FixedLengthMaskerTests to reflect the changes in the fixedLength method’s usage.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 8, 2025

@ehayik ehayik self-assigned this Jun 8, 2025
@ehayik ehayik added the enhancement New feature or request label Jun 8, 2025
@ehayik ehayik changed the title ref: Simplify fixedLength method by removing deprecated builder chaining Simplify fixedLength method by removing deprecated builder chaining Jun 9, 2025
@ehayik ehayik added this to the v1.1.0 milestone Jun 10, 2025
@ehayik ehayik merged commit 0be475c into master Jun 10, 2025
2 checks passed
@ehayik ehayik deleted the ref/revert-deprecated-method branch June 20, 2025 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant