posted 17 years ago
I found this in the code i'm doing maintenance:
boolean draw = false;
//some code
draw |= x.equals(a) &&(Integer.parseInt(c)>=Integer.parseInt(d));
It compiles fine... but doesn't do what it supossed to do. I already correct it, but i'm not sure what exactly is "|=" (and is not "!="). Any ideas?