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>
This commit is contained in:
Noel Grandin
2014-11-12 09:55:57 +02:00
committed by Noel Grandin
parent 84f7f412bf
commit bb437029c1
71 changed files with 226 additions and 387 deletions

View File

@@ -52,7 +52,6 @@ public class ParcelDescriptor {
"<parcel xmlns:parcel=\"scripting.dtd\" language=\"Java\">\n" +
"</parcel>").getBytes();
private File file = null;
private Document document = null;
private String language = null;
private Map<String, String> languagedepprops = new HashMap<String, String>(3);
@@ -83,8 +82,6 @@ public class ParcelDescriptor {
}
private ParcelDescriptor(File file, String language) throws IOException {
this.file = file;
if (file.exists()) {
FileInputStream fis = null;