Author: rob.stryker(a)jboss.com
Date: 2009-10-12 14:56:40 -0400 (Mon, 12 Oct 2009)
New Revision: 18049
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/XPathDialogs.java
Log:
JBIDE-4994 - fixed the NPE
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/XPathDialogs.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/XPathDialogs.java 2009-10-12
18:38:54 UTC (rev 18048)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/XPathDialogs.java 2009-10-12
18:56:40 UTC (rev 18049)
@@ -232,7 +232,7 @@
protected Control createDialogArea(Composite parent) {
String title = original == null ? Messages.XPathNewXpath : Messages.XPathEditXpath;
setTitle(title);
- Composite main = new Composite((Composite)super.createDialogArea(parent), SWT.NONE);
+ main = new Composite((Composite)super.createDialogArea(parent), SWT.NONE);
main.setLayoutData(new GridData(GridData.FILL_BOTH));
main.setLayout(new FormLayout());
layoutWidgets(main);
Show replies by date