This is an automated email from the ASF dual-hosted git repository. pepness pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push: new 1d85a3e854 Fix double initialization of comboHelper (#5480) 1d85a3e854 is described below commit 1d85a3e854fafef563a3b0986b88f4e9613a1d85 Author: José Contreras <pepn...@apache.org> AuthorDate: Thu Feb 16 12:09:21 2023 -0600 Fix double initialization of comboHelper (#5480) It is already initialized on an async task. --- .../j2ee/persistence/wizard/unit/PersistenceUnitWizardPanelDS.java | 2 -- .../j2ee/persistence/wizard/unit/PersistenceUnitWizardPanelJdbc.java | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/java/j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/wizard/unit/PersistenceUnitWizardPanelDS.java b/java/j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/wizard/unit/PersistenceUnitWizardPanelDS.java index f0a6f8515a..5d4037ca7f 100644 --- a/java/j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/wizard/unit/PersistenceUnitWizardPanelDS.java +++ b/java/j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/wizard/unit/PersistenceUnitWizardPanelDS.java @@ -79,8 +79,6 @@ public class PersistenceUnitWizardPanelDS extends PersistenceUnitWizardPanel imp checkValidity(); }); - PersistenceProviderComboboxHelper comboHelper = new PersistenceProviderComboboxHelper(project); - comboHelper.connect(providerCombo); unitNameTextField.setText(Util.getCandidateName(project)); unitNameTextField.selectAll(); diff --git a/java/j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/wizard/unit/PersistenceUnitWizardPanelJdbc.java b/java/j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/wizard/unit/PersistenceUnitWizardPanelJdbc.java index 8cd1c37b75..a6f69de5f2 100644 --- a/java/j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/wizard/unit/PersistenceUnitWizardPanelJdbc.java +++ b/java/j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/wizard/unit/PersistenceUnitWizardPanelJdbc.java @@ -85,7 +85,7 @@ public class PersistenceUnitWizardPanelJdbc extends PersistenceUnitWizardPanel{ unitNameTextField.getDocument().addDocumentListener(new ValidationListener()); errorMessage.setForeground(Color.RED); - updateWarning(); + updateWarning(); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists