summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-13 09:32:50 +0200
committerNoel Grandin <noel@peralex.com>2014-08-20 10:35:53 +0200
commit2922a967a1da5f9c0a07b5390906307d0ae6fe48 (patch)
treebc8d0a6f25e5d058adecb016f619096d64c4a484 /qadevOOo
parent188af1e56e3280ea4446e694cfc5c2b4abbe8c3b (diff)
java: Avoid naming non-fields with the prefix m_
found by PMD Change-Id: I5955cfc9c4d777496a2e8e4b2c422a51764a8bc1
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/runner/convwatch/PRNCompare.java8
-rw-r--r--qadevOOo/runner/graphical/IniFile.java6
2 files changed, 7 insertions, 7 deletions
diff --git a/qadevOOo/runner/convwatch/PRNCompare.java b/qadevOOo/runner/convwatch/PRNCompare.java
index 501ec30ebe17..561d371742fb 100644
--- a/qadevOOo/runner/convwatch/PRNCompare.java
+++ b/qadevOOo/runner/convwatch/PRNCompare.java
@@ -180,21 +180,21 @@ public class PRNCompare
// TODO: return a real filename, due to the fact we don't know how much files are created, maybe better to return a list
- ArrayList<String> m_aFileList = new ArrayList<String>();
+ ArrayList<String> aFileList = new ArrayList<String>();
for (int i=1;i<9999;i++)
{
String sNewJPEGFilename = sJPGFilename.replace(sGS_PageOutput, StringHelper.createValueString(i, 4));
if (FileHelper.exists(sNewJPEGFilename))
{
- m_aFileList.add(sNewJPEGFilename); // as long as the files exist, fill the array
+ aFileList.add(sNewJPEGFilename); // as long as the files exist, fill the array
}
else
{
break; // stop file check
}
}
- String[] aList = new String[m_aFileList.size()];
- aList = m_aFileList.toArray(aList);
+ String[] aList = new String[aFileList.size()];
+ aList = aFileList.toArray(aList);
return aList; // sNewJPEGFilename;
}
diff --git a/qadevOOo/runner/graphical/IniFile.java b/qadevOOo/runner/graphical/IniFile.java
index 2b6ecc33a02e..2e2da218580e 100644
--- a/qadevOOo/runner/graphical/IniFile.java
+++ b/qadevOOo/runner/graphical/IniFile.java
@@ -310,15 +310,15 @@ public class IniFile implements Enumeration<String>
public String getValue(String _sSection, String _sKey)
{
String sValue = "";
- int m_nCurrentPosition = findKey(_sSection, _sKey);
- if (m_nCurrentPosition == -1)
+ int nCurrentPosition = findKey(_sSection, _sKey);
+ if (nCurrentPosition == -1)
{
// Section not found, therefore the value can't exist
return "";
}
// m_sOldKey = _sKey;
- sValue = getValue(m_nCurrentPosition);
+ sValue = getValue(nCurrentPosition);
return sValue;
}