Tibor17 commented on PR #518:
URL: https://github.com/apache/maven-surefire/pull/518#issuecomment-1099706229
@zoltanmeze
@walterFor
yes, that's true, the code
```
if ( runMode != null )
{
// one byte of length + one delimiter character ':' + <string> +
one delimiter character ':'
lengthOfMetadata += 1 + 1 + runMode.geRunmode().length() + 1;
}
```
should become
```
// one byte of length + one delimiter character ':' + <string> + one
delimiter character ':'
lengthOfMetadata += 1 + 1 + ( runMode == null ? 0 :
runMode.getRunmodeBinary().length ) + 1;
```
--
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]