diff options
author | Noel Grandin <noel@peralex.com> | 2013-05-03 14:49:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-05-06 11:45:51 +0200 |
commit | e527a340051b55a6f05d05f397d82ec797165163 (patch) | |
tree | 21e81a60ed0402b0f4e33685917b184b5b1bb32b /scripting/java | |
parent | 587c59fbc931b12f4d63d077a78bcaa43ffbf83d (diff) |
Java cleanup, convert more Vector to ArrayList
Change-Id: Icb807382eaf50f515f2c9dfada0c061414baed33
Diffstat (limited to 'scripting/java')
-rw-r--r-- | scripting/java/org/openoffice/netbeans/modules/office/actions/ParcelFolderSupport.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripting/java/org/openoffice/netbeans/modules/office/actions/ParcelFolderSupport.java b/scripting/java/org/openoffice/netbeans/modules/office/actions/ParcelFolderSupport.java index fb0268024451..b8fe3e6226e4 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/actions/ParcelFolderSupport.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/actions/ParcelFolderSupport.java @@ -166,8 +166,8 @@ public class ParcelFolderSupport implements ParcelFolderCookie File contents = FileUtil.toFile( primary.getFileObject(ParcelZipper.CONTENTS_DIRNAME)); - Vector classpath = getConfigureClasspath(); - classpath.addElement(contents.getAbsolutePath()); + ArrayList<String> classpath = getConfigureClasspath(); + classpath.add(contents.getAbsolutePath()); try { ParcelDescriptor descriptor = getParcelDescriptor(); @@ -210,8 +210,8 @@ public class ParcelFolderSupport implements ParcelFolderCookie return true; } - private Vector getConfigureClasspath() { - ArrayList result = new ArrayList(); + private ArrayList<String> getConfigureClasspath() { + ArrayList<String> result = new ArrayList<String>(); String classpath = NbClassPath.createRepositoryPath().getClassPath(); if ( System.getProperty( "os.name" ).startsWith( "Windows" ) ) |