文字列を比較する際に、.equals()メソッドを使用すべきなのに"=="を使用するなど、誤った演算子を使用している。
Javaでは、2つの文字列を等しいかどうか比較するために==や!つの参照は決して等しくならない可能性が高い。この弱点は、多くの場合、プログラムの正しさに影響するだけですが、もし等号がセキュリ ティの判断に使われると、意図しない比較結果がプログラムのセキュリティに影響する可能性があ ります。
The product uses the wrong operator when comparing a string, such as using "==" when the .equals() method should be used instead.
In Java, using == or != to compare two strings for equality actually compares two objects for equality rather than their string values for equality. Chances are good that the two references will never be equal. While this weakness often only affects program correctness, if the equality is used for a security decision, the unintended comparison result could be leveraged to affect program security.