diff options
Diffstat (limited to 'scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java | 15 |
1 files changed, 6 insertions, 9 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 1bde7eba9c62..14ebb2421cb5 100644 --- a/scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java +++ b/scripting/java/com/sun/star/script/framework/container/ParcelDescriptor.java @@ -42,8 +42,8 @@ public class ParcelDescriptor { PARCEL_DESCRIPTOR_NAME = "parcel-descriptor.xml"; // Collection of all ParcelDescriptor created for files - private static final Map<File, ParcelDescriptor> PARCEL_DESCRIPTOR_MAP = new - HashMap<File, ParcelDescriptor>(5); + private static final Map<File, ParcelDescriptor> PARCEL_DESCRIPTOR_MAP = + new HashMap<File, ParcelDescriptor>(5); // This is the default contents of a parcel descriptor to be used when // creating empty descriptors @@ -57,10 +57,6 @@ public class ParcelDescriptor { private String language = null; private Map<String, String> languagedepprops = new HashMap<String, String>(3); - - - - public ParcelDescriptor() throws IOException { ByteArrayInputStream bis = null; @@ -148,6 +144,7 @@ public class ParcelDescriptor { } public ScriptEntry[] getScriptEntries() { + ArrayList<ScriptEntry> scripts = new ArrayList<ScriptEntry>(); NodeList scriptNodes; int len; @@ -217,8 +214,8 @@ public class ParcelDescriptor { } } - ScriptEntry entry = new ScriptEntry(language, languagename, "", langProps, - description); + ScriptEntry entry = + new ScriptEntry(language, languagename, "", langProps, description); scripts.add(entry); } @@ -375,4 +372,4 @@ public class ParcelDescriptor { //add to the Top Element main.appendChild(root); } -} +}
\ No newline at end of file |