update SpdFileContents.java to adapt new schema for LibraryClassDeclaration.
authorjlin16 <jlin16@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 2 Jun 2006 03:39:44 +0000 (03:39 +0000)
committerjlin16 <jlin16@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 2 Jun 2006 03:39:44 +0000 (03:39 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@386 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Source/PackageEditor/src/org/tianocore/packaging/SpdFileContents.java

index e165656b92623a17c2606840944ded7712d4cb98..17a5a0cdb73269d0781215247e0c8299e96b73c4 100644 (file)
@@ -601,8 +601,7 @@ public class SpdFileContents {
      @param parent The tag under which library class declaration goes to\r
     **/\r
     public void setSpdLibraryClass(String clsName, String clsUsage, XmlObject parent) {\r
      @param parent The tag under which library class declaration goes to\r
     **/\r
     public void setSpdLibraryClass(String clsName, String clsUsage, XmlObject parent) {\r
-        LibraryClassDocument.LibraryClass lc = ((LibraryClassDeclarationDocument.LibraryClassDeclaration) parent)\r
-                                                                                                                 .addNewLibraryClass();\r
+        LibraryClassDeclarationDocument.LibraryClassDeclaration.LibraryClass lc = ((LibraryClassDeclarationDocument.LibraryClassDeclaration) parent).addNewLibraryClass();\r
         lc.setStringValue(clsName);\r
     }\r
 \r
         lc.setStringValue(clsName);\r
     }\r
 \r