summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-12 09:55:57 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-11-12 11:03:29 +0000
commitbb437029c1e5331bcc3f8fb2fc87837142a52f33 (patch)
tree56bde4059792a5284e90ae3b10ee4388cc913a54 /reportdesign
parent84f7f412bfc9e18b1ff8b133ceda7757eae28c36 (diff)
java: convert fields to local variables where possible
found by PMD Change-Id: I05b45382b8fb1b734657ce9421a20e6ef6fbe542 Reviewed-on: https://gerrit.libreoffice.org/12376 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/qa/complex/reportdesign/ReportDesignerTest.java11
1 files changed, 4 insertions, 7 deletions
diff --git a/reportdesign/qa/complex/reportdesign/ReportDesignerTest.java b/reportdesign/qa/complex/reportdesign/ReportDesignerTest.java
index 58a93af9a410..523145c65b02 100644
--- a/reportdesign/qa/complex/reportdesign/ReportDesignerTest.java
+++ b/reportdesign/qa/complex/reportdesign/ReportDesignerTest.java
@@ -174,9 +174,6 @@ public class ReportDesignerTest
}
- private String m_sMailAddress = null;
- private String m_sUPDMinor;
-
private static final int WRITER = 1;
private static final int CALC = 2;
@@ -189,11 +186,11 @@ public class ReportDesignerTest
String sVCSID = System.getProperty("VCSID");
System.out.println("VCSID='" + sVCSID + "'");
- m_sMailAddress = sVCSID + "@openoffice.org";
- System.out.println("Assumed mail address: " + m_sMailAddress);
+ String sMailAddress = sVCSID + "@openoffice.org";
+ System.out.println("Assumed mail address: " + sMailAddress);
- m_sUPDMinor = System.getProperty("UPDMINOR");
- System.out.println("Current MWS: " + m_sUPDMinor);
+ String sUPDMinor = System.getProperty("UPDMINOR");
+ System.out.println("Current MWS: " + sUPDMinor);
// --------------------------- Start the given Office ---------------------------