範例
public
class
ClassA {
int
x;
public void
methodA() {
if
(x==x){
// ...
}
}
}
解決方案
移除 'x==x' 並重新考量程式碼的邏輯。