summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-18 10:01:21 +0200
committerNoel Grandin <noel@peralex.com>2014-11-18 12:44:28 +0200
commit0063cf285696951e336b9cec1da8881997b286ce (patch)
treebe70dfd8127c35f9e4a6d18d4db459a587813bf4 /filter
parent250391009aec9930abcc57930ddd4b6f56f4df9c (diff)
java: make fields final where possible
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
Diffstat (limited to 'filter')
-rw-r--r--filter/qa/complex/filter/detection/typeDetection/Helper.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/filter/qa/complex/filter/detection/typeDetection/Helper.java b/filter/qa/complex/filter/detection/typeDetection/Helper.java
index 83026fd75997..e8e5a8171086 100644
--- a/filter/qa/complex/filter/detection/typeDetection/Helper.java
+++ b/filter/qa/complex/filter/detection/typeDetection/Helper.java
@@ -53,17 +53,17 @@ public class Helper {
* @member m_param the test parameters
*/
- private LogWriter m_log = null;
+ private final LogWriter m_log;
- private String m_sTestDocPath = null;
+ private final String m_sTestDocPath;
- private ArrayList<ArrayList<String>> m_vFiles = null;
+ private final ArrayList<ArrayList<String>> m_vFiles;
- private HashMap<String,String> m_hFileURLs = new HashMap<String,String>();
+ private final HashMap<String,String> m_hFileURLs = new HashMap<String,String>();
- private HashMap<String,String> m_hFileTypes = new HashMap<String,String>();
+ private final HashMap<String,String> m_hFileTypes = new HashMap<String,String>();
- private TestParameters m_param = null;
+ private final TestParameters m_param;
/**
* construct a new instance of this class