From bb437029c1e5331bcc3f8fb2fc87837142a52f33 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 12 Nov 2014 09:55:57 +0200 Subject: 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 Reviewed-by: Noel Grandin --- .../java/com/sun/star/script/framework/container/ParcelDescriptor.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'scripting/java/com/sun/star/script/framework') 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 { "\n" + "").getBytes(); - private File file = null; private Document document = null; private String language = null; private Map languagedepprops = new HashMap(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; -- cgit