Skip to content

Conversation

@leumor
Copy link
Collaborator

@leumor leumor commented Jan 30, 2026

Summary

  • bump Error Prone Gradle plugin to 5.0.0 with verification metadata updates
  • refactor collections and add annotations to resolve errorprone warnings across core/client/http/FCP code
  • switch to explicit compatibility codes and locale-safe parsing/formatting helpers

Testing

  • not run (not requested)

leumor added 30 commits January 27, 2026 07:06
Align overrides, locale usage, and type checks to keep diagnostics clean without behavior changes.
Tighten guard checks, mkdir conditions, and loopback resolution to satisfy Error Prone without behavior changes.
Use value equality for routed reject specs and peer source matching to align with error-prone guidance.
Use explicit compatibility codes and status ordering without ordinal reliance in client and FCP serialization paths.
Use java.time for alert feed timestamps and suppress legacy Date usage where APIs still require it.
Tighten request tag comparisons and update UIDTag Javadocs to satisfy Error Prone without behavior changes.
Use value equality for message specs, add overrides, and simplify conditionals to satisfy Error Prone guidance.
Introduce explicit ConnectionType codes and use value equality for opennet completion messages to avoid ordinal reliance.
Reduce warning noise without behavior changes.
Reduce warning noise via locale-safe casing and small cleanups.
Reduce warning noise in auth parsing helpers.
Remove unnecessary TimeUnit conversion.
Use AddressTracker.Status to reduce ambiguity.
Remove redundant parentheses in key search.
Reduce warning noise in send/drop logic and update backoff.
Reduce warning noise in port alerts and IP fallback.
Use expression/rule switch for gating and NAT counts.
leumor added 27 commits January 29, 2026 09:48
Reduce Error Prone warnings in packet handling by using array-backed lists and explicit precedence.
Reduce JdkObsolete warnings by using ArrayDeque for bounded nonce storage.
Reduce JdkObsolete warnings by returning packet indices in an ArrayDeque.
Reduce UnnecessaryParentheses warnings in packet encoding.
Remove unnecessary parentheses in resent bit packing.
Reduce Error Prone findings by using ArrayList, simplifying expressions, and using identity hash.
Reduce JdkObsolete warnings by using array-backed collections and add a missing override for the dispatcher run loop.
Reduce JdkObsolete warnings by using ArrayList-backed collections for queue tracking.
Refresh verification metadata for updated plugin artifacts.
Avoid JdkObsolete warnings from LinkedList usage in Ogg page sizing.
Avoid JdkObsolete LinkedList usage in node composition.
Annotate HTTP handlers and availability checks with @OverRide to match interface contracts.
Use StandardCharsets in test helpers to avoid DefaultCharset warnings.
Use long literals directly to avoid IntLiteralCast warnings.
Simplify access checks, use value equality for bookmarks, and suppress array record warnings.
Suppress Date usage where required and avoid logging PageMaker identities in queue diagnostics.
Make output decoding explicit, simplify percentage literals, and rethrow reflective failures as LinkageError.
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
46.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@leumor leumor merged commit 52c19c9 into develop Jan 30, 2026
3 of 4 checks passed
@leumor leumor deleted the bugfix/errorprone-warnings branch January 30, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants