From: jwang36 Date: Thu, 25 Jan 2007 01:38:32 +0000 (+0000) Subject: Fixed the Indentifier type issue. X-Git-Tag: edk2-stable201903~23571 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=ceea362ed6c5e41ce78fbf8b9da8428c7f794136 Fixed the Indentifier type issue. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2306 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFileContents.java b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFileContents.java index 979d49ca39..d8dfb279ba 100644 --- a/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFileContents.java +++ b/Tools/Java/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/platform/ui/FpdFileContents.java @@ -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();