Fixed EDKT400.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1836 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qouyang 2006-10-24 02:41:50 +00:00
parent 0c61f948b2
commit 2679d84f24
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ public class CreateStepTwo extends IDialog implements MouseListener {
jComboBoxPackage = new ICheckBoxList(); jComboBoxPackage = new ICheckBoxList();
WorkspaceTools wt = new WorkspaceTools(); WorkspaceTools wt = new WorkspaceTools();
Vector<String> v = new Vector<String>(); Vector<String> v = new Vector<String>();
packageVector = wt.getAllPackages(); packageVector = wt.getAllRepackagablePackages();
Iterator<PackageIdentification> iter = packageVector.iterator(); Iterator<PackageIdentification> iter = packageVector.iterator();
while (iter.hasNext()) { while (iter.hasNext()) {
PackageIdentification item = iter.next(); PackageIdentification item = iter.next();

View File

@ -227,7 +227,7 @@ public class WorkspaceTools {
@return @return
**/ **/
public Vector<PackageIdentification> getAllRepackagbalePackages() { public Vector<PackageIdentification> getAllRepackagablePackages() {
Vector<PackageIdentification> v = new Vector<PackageIdentification>(); Vector<PackageIdentification> v = new Vector<PackageIdentification>();
for (int index = 0; index < GlobalData.openingPackageList.size(); index++) { for (int index = 0; index < GlobalData.openingPackageList.size(); index++) {
OpeningPackageType opt = GlobalData.openingPackageList.getOpeningPackageByIndex(index); OpeningPackageType opt = GlobalData.openingPackageList.getOpeningPackageByIndex(index);