Skip to content

NIFI-15982 Corrected StandardResourceReferenceFactory so it can now disambiguate between a file path and a single line Java comment.#90

Merged
exceptionfactory merged 2 commits into
apache:mainfrom
dan-s1:NIFI-15982
Jun 2, 2026

Conversation

@dan-s1
Copy link
Copy Markdown
Contributor

@dan-s1 dan-s1 commented May 29, 2026

Summary

NIFI-15982

Tracking

Please complete the following tracking steps prior to pull request creation.

Issue Tracking

Pull Request Tracking

  • Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
  • Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

  • Pull Request based on current revision of the main branch
  • Pull Request refers to a feature branch with one commit containing changes

…isambiguate between a file path and a Java comment.
@dan-s1 dan-s1 changed the title NIFI-15982 Corrected StandardResourceReferenceFactory so it can now disambiguate between a file path and a Java comment. NIFI-15982 Corrected StandardResourceReferenceFactory so it can now disambiguate between a file path and a single line Java comment. May 29, 2026
@dan-s1 dan-s1 requested a review from exceptionfactory May 29, 2026 21:05
Copy link
Copy Markdown
Contributor

@exceptionfactory exceptionfactory left a comment

Choose a reason for hiding this comment

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

Thanks @dan-s1, it looks like the trimmed value needs to be checked before creating the File instance.

@dan-s1 dan-s1 requested a review from exceptionfactory June 1, 2026 14:37
Copy link
Copy Markdown
Contributor

@exceptionfactory exceptionfactory left a comment

Choose a reason for hiding this comment

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

Thanks for making the adjustment @dan-s1, the changes look good. +1 merging

@exceptionfactory exceptionfactory merged commit 6913182 into apache:main Jun 2, 2026
1 check passed
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.

2 participants