Cleanup of Spotbugs annotations. Removed Spotbugs from test scope.#11693
Conversation
This comment has been minimized.
This comment has been minimized.
| @CallSite.Around("java.lang.StringBuilder java.lang.StringBuilder.append(java.lang.Object)") | ||
| @CallSite.Around("java.lang.StringBuffer java.lang.StringBuffer.append(java.lang.Object)") | ||
| @Nonnull | ||
| @SuppressFBWarnings("NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE") |
There was a problem hiding this comment.
Removed this annotation, as it was a copy-paste, not checked in test and usage of Spotbugs in test scope make almost no sense.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3b9e51969f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Debugger benchmarksParameters
See matching parameters
SummaryFound 5 performance improvements and 0 performance regressions! Performance is the same for 5 metrics, 5 unstable metrics.
See unchanged results
Request duration reports for reportsgantt
title reports - request duration [CI 0.99] : candidate=None, baseline=None
dateFormat X
axisFormat %s
section baseline
noprobe (339.492 µs) : 304, 375
. : milestone, 339,
basic (297.515 µs) : 291, 304
. : milestone, 298,
loop (12.154 ms) : 11711, 12596
. : milestone, 12154,
section candidate
noprobe (329.968 µs) : 308, 352
. : milestone, 330,
basic (292.849 µs) : 287, 299
. : milestone, 293,
loop (8.967 ms) : 8962, 8972
. : milestone, 8967,
|
🟡 Java Benchmark SLOs — Performance SLO warning (near threshold)
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
PerfectSlayer
left a comment
There was a problem hiding this comment.
Overall looking good but I would like to know more about this first:
Running SpotBugs in the test scope provides little to no value while introducing an unnecessary dependency.
Don't you think it could be useful to catch test implementation issue?
@PerfectSlayer The So this drops a heavier dependency that was only ever there for a few annotation imports (one of which was a copy-paste leftover), without losing any actual analysis. If we ever want SpotBugs to catch test implementation issues, that'd be a separate change — enabling the spotbugsTest tasks — which isn't wired up today. |
|
Thanks @AlexeyKuznetsov-DD for the clarification 🙏 Approval confirmed 👍 |
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
|
319ed20
into
master
What Does This Do
edu.umd.cs.findbugs.annotations.*annotations with the appropriatejavax.annotation.*equivalents.Motivation
javax.annotation.*annotations are more standard and widely adopted.Additional Notes
This is a cleanup/refactoring change only. No functional behavior is affected.
Contributor Checklist
type:and (comp:orinst:) labels in addition to any other useful labelsclose,fix, or any linking keywords when referencing an issueUse
solvesinstead, and assign the PR milestone to the issue/merge. You can also:/merge --commit-message "..."/merge -c/merge -f --reason "reason"; please use this judiciously, as some checks do not run at the PR-level (note: the PR still needs to be mergeable, this will only skip the pre-merge build)Jira ticket: [PROJ-IDENT]