]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/ModuleProtocols.java
A workaround to a compiler bug that causes the high order 32 bits of GetPerformanceCo...
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / ui / ModuleProtocols.java
index ed55f3ce73e62a1e16d3cf782027404ff6c57a89..b62338b211c99a5a9c0695cf993cb498522e6d8a 100644 (file)
@@ -307,7 +307,7 @@ public class ModuleProtocols extends IInternalFrame {
         }\r
         return jContentPane;\r
     }\r
-    \r
+\r
     private void showEdit(int index) {\r
         ProtocolsDlg dlg = new ProtocolsDlg(vid.getProtocols(index), new IFrame());\r
         int result = dlg.showDialog();\r
@@ -366,7 +366,7 @@ public class ModuleProtocols extends IInternalFrame {
         }\r
         if (arg0.getSource() == jButtonUpdate) {\r
             if (this.selectedRow < 0) {\r
-                Log.err("Please select one record first.");\r
+                Log.wrn("Update Protocols", "Please select one record first.");\r
                 return;\r
             }\r
             showEdit(selectedRow);\r
@@ -446,11 +446,11 @@ public class ModuleProtocols extends IInternalFrame {
             this.msa.setProtocols(protocols);\r
             this.omt.setSaved(false);\r
         } catch (Exception e) {\r
-            e.printStackTrace();\r
+            Log.wrn("Update Protocols", e.getMessage());\r
             Log.err("Update Protocols", e.getMessage());\r
         }\r
     }\r
-    \r
+\r
     /* (non-Javadoc)\r
      * @see javax.swing.event.ListSelectionListener#valueChanged(javax.swing.event.ListSelectionEvent)\r
      *\r