diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-12 09:55:57 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-12 11:03:29 +0000 |
commit | bb437029c1e5331bcc3f8fb2fc87837142a52f33 (patch) | |
tree | 56bde4059792a5284e90ae3b10ee4388cc913a54 /scripting | |
parent | 84f7f412bfc9e18b1ff8b133ceda7757eae28c36 (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 'scripting')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java b/scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java index 93e36a8be1d0..b7817a7deea9 100644 --- a/scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java +++ b/scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java @@ -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; |