Author: max.andersen(a)jboss.com
Date: 2007-10-31 14:52:28 -0400 (Wed, 31 Oct 2007)
New Revision: 4606
Modified:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/KnownConfigurationsTest.java
Log:
fixed NPE when deleting/editing console configs
Modified:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/KnownConfigurationsTest.java
===================================================================
---
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/KnownConfigurationsTest.java 2007-10-31
18:52:14 UTC (rev 4605)
+++
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/KnownConfigurationsTest.java 2007-10-31
18:52:28 UTC (rev 4606)
@@ -37,7 +37,7 @@
fail("no sf should be closed!");
}
- public void configurationRemoved(ConsoleConfiguration root) {
+ public void configurationRemoved(ConsoleConfiguration root, boolean forUpdate) {
if(!added.remove(root)) {
fail("trying to remove a non existing console");
}
Show replies by date