Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#159 Add null-check to landingPadSizeFromPayload method
The 'landingPadSizeFromPayload()' method in 'ReceiveJournalDockedService.java' has been updated to handle possibly null landing pads with the help of Optional. An Optional.ofNullable has been added to elegantly handle any potential null values of the payload's landing pads. This offers a more robust and foolproof way of mapping landing pad sizes.
- Loading branch information