diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-18 11:03:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-05 08:23:30 +0200 |
commit | 46540d08b16f0e2e663734506cc072fe868ece82 (patch) | |
tree | baca7dfe2e192ef2dd986cb641a45051f0612fb3 /qadevOOo/runner | |
parent | a49b2ba1a6a9467aa75d320b45671ae1e87314d3 (diff) |
java: these fields can become local variables
found by PMD
Change-Id: Id852cfec984a181b91aca1c00a41e342b720a4bf
Diffstat (limited to 'qadevOOo/runner')
-rw-r--r-- | qadevOOo/runner/base/java_fat.java | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/qadevOOo/runner/base/java_fat.java b/qadevOOo/runner/base/java_fat.java index c9891d4c9f09..78bcc38fb910 100644 --- a/qadevOOo/runner/base/java_fat.java +++ b/qadevOOo/runner/base/java_fat.java @@ -45,10 +45,7 @@ import com.sun.star.lang.XMultiServiceFactory; public class java_fat implements TestBase { - private boolean m_isDebug = false; - private boolean keepdocument = false; private boolean logging = true; - private boolean newOffice = false; private DynamicClassLoader m_aDynamicClassLoader = null; private lib.TestParameters m_aParams; @@ -65,21 +62,21 @@ public class java_fat implements TestBase String ExclusionFile = (String) m_aParams.get("ExclusionList"); ArrayList<String> exclusions = null; boolean retValue = true; - m_isDebug = m_aParams.getBool("DebugIsActive"); + boolean isDebug = m_aParams.getBool("DebugIsActive"); logging = m_aParams.getBool("LoggingIsActive"); - keepdocument = m_aParams.getBool("KeepDocument"); - newOffice = m_aParams.getBool(util.PropertyName.NEW_OFFICE_INSTANCE); + boolean keepdocument = m_aParams.getBool("KeepDocument"); + boolean newOffice = m_aParams.getBool(util.PropertyName.NEW_OFFICE_INSTANCE); if (keepdocument) { System.setProperty("KeepDocument", "true"); } if (ExclusionFile != null) { - exclusions = getExclusionList(ExclusionFile, m_isDebug); + exclusions = getExclusionList(ExclusionFile, isDebug); } String sDescriptionPath = (String) m_aParams.get("DescriptionPath"); - DescEntry[] entries = dg.getDescriptionFor(job, sDescriptionPath, m_isDebug); + DescEntry[] entries = dg.getDescriptionFor(job, sDescriptionPath, isDebug); if (entries == null) { |