diff options
Diffstat (limited to 'qadevOOo/runner/convwatch/IniFile.java')
-rw-r--r-- | qadevOOo/runner/convwatch/IniFile.java | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/qadevOOo/runner/convwatch/IniFile.java b/qadevOOo/runner/convwatch/IniFile.java index 27b815e81302..fbcaaea0b33b 100644 --- a/qadevOOo/runner/convwatch/IniFile.java +++ b/qadevOOo/runner/convwatch/IniFile.java @@ -435,18 +435,18 @@ class IniFile /** * some tests for this class */ - public static void main(String[] args) - { - IniFile aIniFile = new IniFile("/tmp/inifile"); - String sValue = aIniFile.getValue("Section","Key"); - // insert a new value to a already exist section - aIniFile.insertValue("Section","Key2","a new value in a existing section"); - // replace a value - aIniFile.insertValue("Section","Key","replaced value"); - // create a new value - aIniFile.insertValue("New Section", "Key", "a new key value pair"); - - String sValue2 = aIniFile.getValue("Section2","Key"); - aIniFile.store(); - } +// public static void main(String[] args) +// { +// IniFile aIniFile = new IniFile("/tmp/inifile"); +// String sValue = aIniFile.getValue("Section","Key"); +// // insert a new value to a already exist section +// aIniFile.insertValue("Section","Key2","a new value in a existing section"); +// // replace a value +// aIniFile.insertValue("Section","Key","replaced value"); +// // create a new value +// aIniFile.insertValue("New Section", "Key", "a new key value pair"); +// +// String sValue2 = aIniFile.getValue("Section2","Key"); +// aIniFile.store(); +// } } |