From 59a94e07f6e5cc0c3b57dc501a61356c42718e21 Mon Sep 17 00:00:00 2001 From: trifonnt Date: Fri, 9 Mar 2007 17:55:57 +0000 Subject: [PATCH] Fix: Commit: "[1826] trunk" has wrong comparison. part of [ 1673714 ] String comparison using == is wrong --- looks/src/org/compiere/util/Ini.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/looks/src/org/compiere/util/Ini.java b/looks/src/org/compiere/util/Ini.java index 2d6158484b..3605d480a3 100644 --- a/looks/src/org/compiere/util/Ini.java +++ b/looks/src/org/compiere/util/Ini.java @@ -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 {