A constructor signature like public SomeObject(Long param1, Long param2) { ... } will trigger PRMC_POSSIBLY_REDUNDANT_METHOD_CALLS when invoked via new SomeObject(1L, 1L) but not when invoked via new SomeObject(2L, 1L). Guessing that fb-contrib is detecting the duplicate autoboxing.
Maybe this isn't a false positive, but should be a more specific error indicating the duplicate autoboxing?
A constructor signature like
public SomeObject(Long param1, Long param2) { ... }
will trigger PRMC_POSSIBLY_REDUNDANT_METHOD_CALLS when invoked vianew SomeObject(1L, 1L)
but not when invoked vianew SomeObject(2L, 1L)
. Guessing that fb-contrib is detecting the duplicate autoboxing.Maybe this isn't a false positive, but should be a more specific error indicating the duplicate autoboxing?