]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/GenBuild/org/tianocore/build/pcd/action/CollectPCDAction.java
Clean up for debug message of PCD tools.
[mirror_edk2.git] / Tools / Source / GenBuild / org / tianocore / build / pcd / action / CollectPCDAction.java
index 8c91b2fe16372b64e9a6612d6ae0cb793770809c..37f74713d6a8241348049a3a3b9837d46f62c565 100644 (file)
@@ -2037,28 +2037,13 @@ public class CollectPCDAction {
 \r
         }\r
 \r
-        //map.put("FrameworkPlatformDescription", fpdDocInstance);\r
-        //SurfaceAreaQuery.setDoc(map); \r
         Map<FpdModuleIdentification,XmlObject>pcdBuildDef = GlobalData.getFpdModuleSaXmlObject(CollectPCDAction.xmlObjectName);\r
         Set<FpdModuleIdentification> pcdBuildKeySet = pcdBuildDef.keySet();\r
         Iterator item = pcdBuildKeySet.iterator();\r
         while (item.hasNext()){\r
-               FpdModuleIdentification id = (FpdModuleIdentification)item.next();\r
-            try {\r
-                allModules.add(new ModuleInfo(id, id.getModule().getModuleType(),pcdBuildDef.get(id)));    \r
-            } catch (Exception e){\r
-                System.out.println(e.getMessage());\r
-                //EdkLog.log(EdkLog.EDK_INFO,e.getMessage());\r
-            }\r
-               \r
-               \r
-        }\r
-//        //modules = SurfaceAreaQuery.getFpdModuleSAs();\r
-//        for (index = 0; index < modules.length; index ++) {\r
-//            //SurfaceAreaQuery.setDoc(GlobalData.getDoc(modules[index].getModuleName()));\r
-//            allModules.add(new ModuleInfo(modules[index], \r
-//                                          ModuleTypeDef.Enum.forString(SurfaceAreaQuery.getModuleType())));\r
-//        }\r
+            FpdModuleIdentification id = (FpdModuleIdentification)item.next();\r
+            allModules.add(new ModuleInfo(id, id.getModule().getModuleType(),pcdBuildDef.get(id)));    \r
+        }\r
         \r
         return allModules;\r
     }\r