diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-11 14:55:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-14 10:59:47 +0200 |
commit | 25e4635d3537bbdf389301bceef5b122824e98af (patch) | |
tree | ed40b54888c3791ae3855e622f653775539f319b /filter/qa | |
parent | clean up formatting (diff) | |
download | core-25e4635d3537bbdf389301bceef5b122824e98af.tar.gz core-25e4635d3537bbdf389301bceef5b122824e98af.zip |
clean upo runner.lib.TestParameters
- remove unused fields
- make all external code go through the get(XXX)
methods instead of also using the default values
- remove default values
declarations and inline them, since they are now unnecessary.
Change-Id: Idc875fbd133de90044647f3e3b1feb225d81a643
Diffstat (limited to 'filter/qa')
-rw-r--r-- | filter/qa/complex/filter/detection/typeDetection/Helper.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/filter/qa/complex/filter/detection/typeDetection/Helper.java b/filter/qa/complex/filter/detection/typeDetection/Helper.java index 217493381ddc..1c445901cdcd 100644 --- a/filter/qa/complex/filter/detection/typeDetection/Helper.java +++ b/filter/qa/complex/filter/detection/typeDetection/Helper.java @@ -23,6 +23,7 @@ import com.sun.star.io.NotConnectedException; import com.sun.star.io.XInputStream; import helper.StreamSimulator; + import java.io.*; import java.net.URL; import java.net.URLConnection; @@ -30,8 +31,10 @@ import java.util.Iterator; import java.util.HashMap; import java.util.StringTokenizer; import java.util.ArrayList; + import lib.TestParameters; import share.LogWriter; +import util.PropertyName; import util.utils; @@ -181,7 +184,7 @@ public class Helper { ArrayList<String> content = new ArrayList<String>(); BufferedReader br; String line; - if ( m_param.DebugIsActive ) { + if ( m_param.getBool(PropertyName.DEBUG_IS_ACTIVE) ) { System.out.println("Looking for "+csvFileName); } |