ABOUTPAGE: Fixed line draw to be horizontal
authorYoonki Park <yoonki.park@samsung.com>
Mon, 25 Jul 2016 10:17:33 +0000 (19:17 +0900)
committerYoonki Park <yoonki.park@samsung.com>
Mon, 25 Jul 2016 10:17:33 +0000 (19:17 +0900)
Change-Id: I88979aec4b4c8acafbe27a6c4981170cd677b0f1
Signed-off-by: Yoonki Park <yoonki.park@samsung.com>
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/AboutDialog.java

index c6d58f9..9eca337 100644 (file)
@@ -193,7 +193,7 @@ public class AboutDialog extends TrayDialog {
             @Override
             public void paintControl(PaintEvent e) {
                 e.gc.setForeground(new Color(e.display, 88, 88, 88));
-                e.gc.drawLine(0, 0, parent.getClientArea().width, 1);
+                e.gc.drawLine(0, 1, parent.getClientArea().width, 1);
             }
         });
 
@@ -342,7 +342,7 @@ public class AboutDialog extends TrayDialog {
                        }
                        String key = str.substring(0, index);
                        String value = str.substring(index + 1);
-                       if (key == null || key.isEmpty() || value == null || value.isEmpty()) {
+                       if (value == null || value.isEmpty()) {
                                continue;
                        }
                        Label label = new Label(scroller, SWT.NONE);