Pressing Tab repeatedly could lead to a crash because displayString was unexpectedly set to null. This replaces all such instances with Component.empty()
In addition, I replaced all nearby handlers also set to null with empty lambdas. I don't think these caused any crashes otherwise, as the invoking method was overriden each time, but it's still better to not pass nulls to NotNull-annotated params.
Pressing Tab repeatedly could lead to a crash because
displayString
was unexpectedly set tonull
. This replaces all such instances withComponent.empty()
In addition, I replaced all nearby
handler
s also set tonull
with empty lambdas. I don't think these caused any crashes otherwise, as the invoking method was overriden each time, but it's still better to not passnull
s toNotNull
-annotated params.