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

Trim variable names in Argument objects #5874

Merged
merged 1 commit into from
May 1, 2023

Conversation

FSchumacher
Copy link
Contributor

Description

Trim names in Argument objects.

Motivation and Context

Should fix #5872

I think, we never intended to allow whitespace at the start or ending of a variable name.

How Has This Been Tested?

Added a JUnit test case for Argumet#setName(String)

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.

@FSchumacher FSchumacher merged commit c361c44 into apache:master May 1, 2023
@FSchumacher FSchumacher deleted the stripped-argument-names branch May 1, 2023 14:59
This pull request was closed.
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.

Variable name not trimmed; trailing blank is significant
2 participants