]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/HobsDlg.java
1. Wrap text by word when showing a message box
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / ui / dialog / HobsDlg.java
index d12841439da5f610f935bdaa8d9f1063aa8f19bc..a9621a601b2988575225fa72c6664bd39b5112e5 100644 (file)
@@ -382,13 +382,13 @@ public class HobsDlg extends IDialog {
         // Check Name \r
         //\r
         if (isEmpty(this.jComboBoxGuidC_Name.getSelectedItem().toString())) {\r
-            Log.err("Hob Name couldn't be empty");\r
+            Log.wrn("Update Hobs", "Hob Name couldn't be empty");\r
             return false;\r
         }\r
 \r
         if (!isEmpty(this.jComboBoxGuidC_Name.getSelectedItem().toString())) {\r
             if (!DataValidation.isC_NameType(this.jComboBoxGuidC_Name.getSelectedItem().toString())) {\r
-                Log.err("Incorrect data type for Hob Name");\r
+                Log.wrn("Update Hobs", "Incorrect data type for Hob Name");\r
                 return false;\r
             }\r
         }\r
@@ -398,7 +398,7 @@ public class HobsDlg extends IDialog {
         //\r
         if (!isEmpty(this.jTextFieldFeatureFlag.getText())) {\r
             if (!DataValidation.isFeatureFlag(this.jTextFieldFeatureFlag.getText())) {\r
-                Log.err("Incorrect data type for Feature Flag");\r
+                Log.wrn("Update Hobs", "Incorrect data type for Feature Flag");\r
                 return false;\r
             }\r
         }\r