Author: adietish
Date: 2010-12-02 13:14:15 -0500 (Thu, 02 Dec 2010)
New Revision: 27120
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage2.java
Log:
corrected warnings
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage2.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage2.java 2010-12-02
18:13:28 UTC (rev 27119)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage2.java 2010-12-02
18:14:15 UTC (rev 27120)
@@ -103,7 +103,7 @@
private DeltaCloudHardwareProfile[] allProfiles;
private List<DeltaCloudRealm> realms;
- private Label dummyLabel, imageLabel, archLabel, nameLabel, realmLabel;
+ private Label imageLabel, archLabel, nameLabel, realmLabel;
private Group groupContainer;
@@ -318,7 +318,7 @@
layout.marginWidth = 5;
container.setLayout(layout);
- dummyLabel = new Label(container, SWT.NULL);
+ Label dummyLabel = new Label(container, SWT.NULL);
imageLabel = new Label(container, SWT.NULL);
imageLabel.setText(WizardMessages.getString(IMAGE_LABEL));
@@ -361,7 +361,7 @@
hardware.setEnabled(false);
// add invisible dummy widget to guarantee a min size
- Label dummyLabel = new Label(groupContainer, SWT.NONE);
+ dummyLabel = new Label(groupContainer, SWT.NONE);
dummyLabel.setText("\n\n\n\n\n");
FormData dummyData = UIUtils.createFormData(0,0,0,150,null,0,null,0);
dummyLabel.setLayoutData(dummyData);
Show replies by date