From 5b04edd2865ce88ef763daa6ac3911e7d3e955d0 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Wed, 25 Jul 2007 14:06:48 +0000 Subject: [PATCH] * minor - Added display of AdempiereProperties in Preference window's info tab. --- looks/src/org/compiere/util/Ini.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/looks/src/org/compiere/util/Ini.java b/looks/src/org/compiere/util/Ini.java index 93ebb796da..bb43e51cbf 100644 --- a/looks/src/org/compiere/util/Ini.java +++ b/looks/src/org/compiere/util/Ini.java @@ -207,6 +207,9 @@ public final class Ini implements Serializable /** Container for Properties */ private static Properties s_prop = new Properties(); + + private static String s_propertyFileName = null; + /** Logger */ private static Logger log = Logger.getLogger(Ini.class.getName()); @@ -311,6 +314,8 @@ public final class Ini implements Serializable saveProperties(true); s_loaded = true; log.info(filename + " #" + s_prop.size()); + s_propertyFileName = filename; + return firstTime; } // loadProperties @@ -780,4 +785,9 @@ public final class Ini implements Serializable { return isPropertyBool(P_SERVER_VALIDATE_SECURITY_TOKEN); } + + public static String getPropertyFileName() + { + return s_propertyFileName; + } } // Ini