SIGN IN SIGN UP

fix: remove malformed javadoc to fix -Werror build failure (#7393) (#7394)

* fix: prevent NPE when array contains null elements

When searching for a non-null key in an array that contains null elements,
the sentinel linear search would throw a NullPointerException because it
called array[i].compareTo(key) without checking if array[i] is null.

Added null check for array[i] in the while loop condition to prevent NPE
and return the correct index when array elements themselves are null.

Issue: #7318 (related)

* fix: remove malformed @author javadoc in AnyBaseToAnyBase (issue #7393)

* fix: remove malformed javadoc in ReverseString (part of issue #7393)

---------

Co-authored-by: OpenClaw Agent <agent@openclaw.ai>
Co-authored-by: OpenClaw Bot <fix-bug@openclaw.ai>
Co-authored-by: Deniz Altunkapan <deniz.altunkapan@outlook.com>
S
Senrian committed
0ad5d90012095fc90f3fba4ec28560421f7e0844
Parent: b3e31b5
Committed by GitHub <noreply@github.com> on 4/22/2026, 9:26:20 AM