Investigate alerts from lgtm

Description

See https://lgtm.com/projects/g/hibernate/hibernate-search/alerts/

The "Suspicious reference equality test of boxed types" seems particularly bad.

Environment

None

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Fix versions

Priority

Minor
Configure