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:
committed by
Noel Grandin
parent
84f7f412bf
commit
bb437029c1
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user