Suppress false positives by adding the suppression annotation @SuppressWarnings("AssertSameIncompatible") to the enclosing element.
@SuppressWarnings("AssertSameIncompatible")