gnodet opened a new pull request, #12053:
URL: https://github.com/apache/maven/pull/12053

   ## Summary
   
   - Add `-`, `*`, `/` to the delimiter character list in 
`ConditionParser.tokenize()` so arithmetic expressions without spaces (e.g., 
`5-3`, `6*4`, `9/3`) are correctly tokenized
   - This is safe because quoted strings and property references 
(`${my-property}`) are handled before the delimiter check, and `parseUnary()` 
already handles unary `-`
   
   Fixes #12052
   Related: #11882, #12038
   
   ## Test plan
   
   - [x] Added `testArithmeticWithoutSpaces` covering all operators without 
spaces, operator precedence, and unary negation
   - [x] All 27 `ConditionParserTest` tests pass
   
   _Claude Code on behalf of Guillaume Nodet_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to