Fix: Commit: "[1826] trunk" has wrong comparison.

part of [ 1673714 ] String comparison using == is wrong
This commit is contained in:
trifonnt 2007-03-09 17:55:57 +00:00
parent f68c37b45f
commit 59a94e07f6
1 changed files with 1 additions and 1 deletions

View File

@ -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
{