Fix: Commit: "[1826] trunk" has wrong comparison.
part of [ 1673714 ] String comparison using == is wrong
This commit is contained in:
parent
f68c37b45f
commit
59a94e07f6
|
@ -404,7 +404,7 @@ public final class Ini implements Serializable
|
|||
s_prop.setProperty(key, SecureInterface.CLEARVALUE_START + value + SecureInterface.CLEARVALUE_END);
|
||||
else
|
||||
{
|
||||
if (value.equals(null))
|
||||
if (value == null)
|
||||
s_prop.setProperty(key, "");
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue