summaryrefslogtreecommitdiff
path: root/vcl/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-18 11:03:04 +0200
committerNoel Grandin <noel@peralex.com>2015-01-05 08:23:30 +0200
commit46540d08b16f0e2e663734506cc072fe868ece82 (patch)
treebaca7dfe2e192ef2dd986cb641a45051f0612fb3 /vcl/qa
parenta49b2ba1a6a9467aa75d320b45671ae1e87314d3 (diff)
java: these fields can become local variables
found by PMD Change-Id: Id852cfec984a181b91aca1c00a41e342b720a4bf
Diffstat (limited to 'vcl/qa')
-rw-r--r--vcl/qa/complex/memCheck/CheckMemoryUsage.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/vcl/qa/complex/memCheck/CheckMemoryUsage.java b/vcl/qa/complex/memCheck/CheckMemoryUsage.java
index c37a017adb72..50f475ab8e5a 100644
--- a/vcl/qa/complex/memCheck/CheckMemoryUsage.java
+++ b/vcl/qa/complex/memCheck/CheckMemoryUsage.java
@@ -100,10 +100,6 @@ public class CheckMemoryUsage
private String[][] sDocuments;
private static final int iAllowMemoryIncrease = 10;
private int iExportDocCount = 25;
- /**
- * The test parameters
- */
- private TestParameters param = null;
/**
* Collect all documents to load and all filters used for export.
@@ -115,7 +111,7 @@ public class CheckMemoryUsage
final XMultiServiceFactory xMsf = getMSF();
// some Tests need the qadevOOo TestParameters, it is like a Hashmap for Properties.
- param = new TestParameters();
+ TestParameters param = new TestParameters();
param.put("ServiceFactory", xMsf); // some qadevOOo functions need the ServiceFactory
// test does definitely not run on Windows.