elharo opened a new pull request, #348: URL: https://github.com/apache/maven-filtering/pull/348
The escape-detection loop (line 223) and delimiter-detection loop (line 246) were missing ch == -1 checks. When EOF is reached mid-token, (char) -1 produces 0xFFFF which gets appended to the key StringBuilder as garbage. The equivalent single-delimiter class InterpolatorFilterReaderLineEnding already has these checks. -- 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]
