[jbosstools-commits] JBoss Tools SVN: r23766 - trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Wed Jul 28 04:43:03 EDT 2010
Author: dgeraskov
Date: 2010-07-28 04:43:01 -0400 (Wed, 28 Jul 2010)
New Revision: 23766
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/HibernateJptPlugin.java
Log:
https://jira.jboss.org/browse/JBIDE-6727
Check that associated console configuration exists.
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/HibernateJptPlugin.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/HibernateJptPlugin.java 2010-07-28 08:36:03 UTC (rev 23765)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/HibernateJptPlugin.java 2010-07-28 08:43:01 UTC (rev 23766)
@@ -128,8 +128,7 @@
@Override
public void configurationRemoved(ConsoleConfiguration root,
boolean forUpdate) {
- if(forUpdate || root.getConfiguration() == null
- || root.getConfiguration().getNamingStrategy() == null) {
+ if(forUpdate) {
return;
}
revalidateProjects(root);
More information about the jbosstools-commits
mailing list