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

Remove unused AsciidoctorFileScanner #600

Conversation

abelsromero
Copy link
Member

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Documentation
  • Refactor
  • Build improvement
  • Other (please describe)

What is the goal of this pull request?
AsciidoctorFileScanner contained old methods no longer used.
Once removed a couple of constansts that could be moved remained.
So, this PR tries to organize things and remove the class.

Are there any alternative ways to implement this?
I could have created a single constants class, but I don't think creating this general usage components is good.
At the end, the only issue was IGNORED_FILE_NAMES (docinfo patterns) which is used in CopyResourceProcessor (for process-asciidoc goal) and ResourcesPatternBuilder (for refresh/http goals). The other constants have been made private since where used in single places.

Are there any implications of this pull request? Anything a user must know?
no

Is it related to an existing issue?

  • Yes
  • No

Finally, please add a corresponding entry to CHANGELOG.adoc
Not relevant to mention.

@abelsromero abelsromero merged commit b6c6db6 into asciidoctor:main Aug 28, 2022
@abelsromero abelsromero deleted the refactor-remove-AsciidoctorFileScanner branch December 28, 2023 20:18
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