Java cleanup, convert more Vector to ArrayList
Change-Id: Icb807382eaf50f515f2c9dfada0c061414baed33
This commit is contained in:
@@ -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" ) )
|
||||
|
Reference in New Issue
Block a user