Skip to content

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 force-pushed the stripped-argument-names branch from 6325675 to ef24263 Compare May 1, 2023 14:17
@FSchumacher FSchumacher merged commit c361c44 into apache:master May 1, 2023
@FSchumacher FSchumacher deleted the stripped-argument-names branch May 1, 2023 14:59
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