-
Notifications
You must be signed in to change notification settings - Fork 911
Fixed RequestProcessor FixedRateTask initialDelay #8932
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
hmm. the missing conversion was there since the code was introduced (archive). Enabled all tests and targeted NB 29. Although this looks correct (on first glance, both (Before this can be merged, you would have to update your author and email on the commit though) |
|
Yes, I was also surprised that this bug was not detected for so long time. If I’d compensate for the bug, I would have just used milliseconds for the timeUnit and both values. But of course, there is no guarantee someone just converted the initialDelay argument to milliseconds and passed another time unit value to the delay. Nevertheless, I think the bug should be fixed, as anyone would expect that it behaves like documented. I directly commited in github, I hoped github will add the author and mail to the commit automatically. Let me check... |
We basically require a full author name and a valid email address for contributions. The you can check it by looking at the patch file of the commit: https://github.com/apache/netbeans/pull/8932.patch to fix this, you will have to amend the commit and force push into the PR branch. (but first check if it looks ok locally with |
FixedRateTask using the time unit converted initial delay
cfe7e0b to
e05f61a
Compare
|
Yes, it was private. I have updated the commit author and mail. |
|
will probably merge in ~ a week or so. giving others time to chime in. |
FixedRateTask using the time unit converted initial delay
Click to collapse/expand PR instructions
By opening a pull request you confirm that, unless explicitly stated otherwise, the changes -
Please make sure (eg.
git log) that all commits have a valid name and email address for you in the Author field.If you're a first time contributor, see the Contributing guidelines for more information.
If you're a committer, please label the PR before pressing "Create pull request" so that the right test jobs can run.
PR approval and merge checklist:
If this PR targets the delivery branch: don't merge. (full wiki article)