Java cleanup, convert more Vector to ArrayList

Change-Id: Icb807382eaf50f515f2c9dfada0c061414baed33
This commit is contained in:
Noel Grandin
2013-05-03 14:49:28 +02:00
parent 587c59fbc9
commit e527a34005
12 changed files with 64 additions and 64 deletions

View File

@@ -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" ) )