Skip to content

Ensure null-safe unboxing in UdpClientTest#49

Merged
matchews merged 1 commit into
haywardomnilogiclocalfrom
codex/update-udpclienttest-with-null-safe-unboxing
Sep 10, 2025
Merged

Ensure null-safe unboxing in UdpClientTest#49
matchews merged 1 commit into
haywardomnilogiclocalfrom
codex/update-udpclienttest-with-null-safe-unboxing

Conversation

@matchews

Copy link
Copy Markdown
Owner

Summary

  • prevent potential NPE in UdpClientTest by unboxing via Objects.requireNonNull
  • add Objects import

Testing

  • mvn -pl bundles/org.openhab.binding.haywardomnilogiclocal -am test (fails: Non-resolvable parent POM org.openhab:openhab-super-pom due to network is unreachable)

https://chatgpt.com/codex/tasks/task_e_68c1c60b0ef083239ac9ea231fa24aa3

@matchews matchews merged commit 315a7fc into haywardomnilogiclocal Sep 10, 2025
1 check passed
@matchews matchews deleted the codex/update-udpclienttest-with-null-safe-unboxing branch September 11, 2025 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant