This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
WinXP/JDK5u8/NB 5.0/Jackpot 1.4.4 Here's my sample source code: public static void main(String[] args) { Vector myVector = new Vector(10); int i = 0; if (myVector.size() == 0) i++; } If I run the Complex Boolean Expressions query/transform on it Jackpot suggests I should change the if check to be: if (!myVector.size()) which will not compile since Vector.size() returns an int. I put this in as a P2, but if I find more like this, should they be P1s?
Converted sample code to regression test to verify fix to #79018. *** This issue has been marked as a duplicate of 79018 ***