Problem
In older versions of the IDE, there used to be the following inspection which can no longer be found in the latest versions:
File | Settings | Editor | Inspections -> Java -> Probable bugs -> Constant conditions & exceptions
Solution
Starting with IntelliJ IDEA 2022.3, "Constant Conditions & Exceptions" inspection has been split into two separate inspections:
-
"Constant Values"
-
"Nullability and data flow problems"
Comments
0 comments
Please sign in to leave a comment.