diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-08 12:44:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-13 08:49:23 +0200 |
commit | 68cd011c907d00493bf2bfde531c1e244819596b (patch) | |
tree | 0225318c908b00faaa701a19aaf7aa567c3582a0 /filter/qa | |
parent | java: reduce scope, make member classes private (diff) | |
download | core-68cd011c907d00493bf2bfde531c1e244819596b.tar.gz core-68cd011c907d00493bf2bfde531c1e244819596b.zip |
java: reduce scope, make some methods private
found by UCDetector
Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
Diffstat (limited to 'filter/qa')
-rw-r--r-- | filter/qa/complex/filter/detection/typeDetection/Helper.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/qa/complex/filter/detection/typeDetection/Helper.java b/filter/qa/complex/filter/detection/typeDetection/Helper.java index 65ae91bf86f3..217493381ddc 100644 --- a/filter/qa/complex/filter/detection/typeDetection/Helper.java +++ b/filter/qa/complex/filter/detection/typeDetection/Helper.java @@ -176,7 +176,7 @@ public class Helper { * cannot be read */ - public ArrayList<String> getCSVFileContent(String csvFileName) { + private ArrayList<String> getCSVFileContent(String csvFileName) { try { ArrayList<String> content = new ArrayList<String>(); BufferedReader br; @@ -283,7 +283,7 @@ public class Helper { * @param content content of a csv file * @return a stripped Vector */ - public ArrayList<String> removeSuperfluousContent(ArrayList<String> content){ + private ArrayList<String> removeSuperfluousContent(ArrayList<String> content){ ArrayList<String> newContent = new ArrayList<String>(); Iterator<String> cont = content.iterator(); while( cont.hasNext() ) { @@ -366,7 +366,7 @@ public class Helper { * type name. This information are extracted from "files.csv" * This is for faster access to get fileURL and fileType of fileAlias */ - public void createFilesList(){ + private void createFilesList(){ for (int i = 0; i < m_vFiles.size();i++){ ArrayList<String> toDo = m_vFiles.get(i); m_hFileURLs.put(toDo.get(0), toDo.get(1)); @@ -405,7 +405,7 @@ public class Helper { return dummy; } - public URL getClassURL(String fileName){ + private URL getClassURL(String fileName){ String PackagePath = this.getClass().getPackage().getName().replace('.','/'); return this.getClass().getResource("/" + PackagePath +"/" + fileName); } |