I suspect it’s just wrong. The javadoc was added like that 9 years ago but all of the code that has ‘repeating’ information will pass that flag to the constructor of KeyInputEvent().
Small PRs are generally preferable to large ones - it’s easy to review, accept, discuss, correct, or reject small changes without having lots of changes causing noise or being affected by one small thing that needs changes or should be rejected.