Fixed the Indentifier type issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2306 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jwang36 2007-01-25 01:38:32 +00:00
parent e3cc406130
commit ceea362ed6
1 changed files with 4 additions and 4 deletions

View File

@ -1836,7 +1836,7 @@ public class FpdFileContents {
UserExtensionsDocument.UserExtensions userExts = getfpdBuildOpts().addNewUserExtensions();
userExts.setUserID(userId);
userExts.setIdentifier(new BigInteger(id));
userExts.setIdentifier(id);
XmlCursor cursor = userExts.newCursor();
cursor.toEndToken();
@ -1879,7 +1879,7 @@ public class FpdFileContents {
if (!ues.getUserID().equals(userId)) {
continue;
}
if (ues.getIdentifier() == null || ues.getIdentifier().intValue() != id) {
if (ues.getIdentifier() == null || ues.getIdentifier() != new Integer(id).toString()) {
continue;
}
XmlCursor cursor = ues.newCursor();
@ -1979,7 +1979,7 @@ public class FpdFileContents {
if (!ues.getUserID().equals(userId)) {
continue;
}
if (ues.getIdentifier()== null || ues.getIdentifier().intValue() != id) {
if (ues.getIdentifier()== null || ues.getIdentifier() != new Integer(id).toString()) {
continue;
}
XmlCursor cursor = ues.newCursor();
@ -2151,7 +2151,7 @@ public class FpdFileContents {
if (!ues.getUserID().equals(userId)) {
continue;
}
if (ues.getIdentifier() == null || ues.getIdentifier().intValue() != id) {
if (ues.getIdentifier() == null || ues.getIdentifier() != new Integer(id).toString()) {
continue;
}
XmlCursor cursor = ues.newCursor();