Incorrect code smell java:S4276 requested to use the specialized IntPredicate

Seeing: Refactor this code to use the more specialised Functional Interface ‘IntPredicate’
My code: Predicate pred = integer → integer != null && integer >= 0;
This can not be directly converted to use the specialized interface IntPredicate and it needs the Integer calls and not the int primitive

Hey there.

I’ve moved your post to the section on reporting false-positives.

Can you update your post with the information requested in this post?