]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/dialog/DataHubsDlg.java
Fixed spelling and grammar, also fixed the size of the pop up dialog boxes and the...
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / ui / dialog / DataHubsDlg.java
index a10d8ebedc8e6f6df36e036be214b8723203d5eb..ba71a20f67e45ddcd07bd105fb8cb3110c6b3e01 100644 (file)
@@ -206,7 +206,7 @@ public class DataHubsDlg extends IDialog {
      \r
      **/\r
     private void init() {\r
-        this.setSize(500, 200);\r
+        this.setSize(508, 220);\r
         this.setContentPane(getJScrollPane());\r
         this.setTitle("Data Hubs");\r
         initFrame();\r
@@ -361,13 +361,13 @@ public class DataHubsDlg extends IDialog {
         // Check DataHubRecord \r
         //\r
         if (isEmpty(this.jTextFieldDataHubRecord.getText())) {\r
-            Log.err("Data Hub Record couldn't be empty");\r
+            Log.wrn("Update Hubs", "Data Hub Record couldn't be empty");\r
             return false;\r
         }\r
 \r
         if (!isEmpty(this.jTextFieldDataHubRecord.getText())) {\r
             if (!DataValidation.isC_NameType(this.jTextFieldDataHubRecord.getText())) {\r
-                Log.err("Incorrect data type for Data Hub Record");\r
+                Log.wrn("Update Hubs", "Incorrect data type for Data Hub Record");\r
                 return false;\r
             }\r
         }\r
@@ -377,7 +377,7 @@ public class DataHubsDlg 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 Hubs", "Incorrect data type for Feature Flag");\r
                 return false;\r
             }\r
         }\r