mirror of https://github.com/acidanthera/audk.git
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:
parent
e3cc406130
commit
ceea362ed6
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue