| Priority |
Normal |
| Type | Bug |
| State | Verified |
| Assignee | Bas Leijdekkers |
| Subsystem | Code Analysis. Inspection |
| Affected versions |
No affected versions
|
| Fixed in |
No fix versions
|
| Fixed in build |
Next build |
| Build |
8089
|
| Fixed in build |
7642
|
IDEA-42476 |
IG: False "Type may be weakened" for Boolean field with autoboxing usages |
|
|
public class WeakBoolean {
private Boolean myBool;
public WeakBoolean() {
myBool = true;
}
public void inverse() {
myBool = !myBool;
}
public void xor(boolean b) {
myBool ^= b;
}
}
|
Alexander Chernikov
14 Jan 2008 18:19
(2 years ago)
|
|