notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2511 - development/main/transit/core/handler/src/main/net/dpml/transit/content
- From: mcconnell AT dpml.net
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2511 - development/main/transit/core/handler/src/main/net/dpml/transit/content
- Date: Wed, 11 May 2005 12:30:57 +0000
Author: mcconnell AT dpml.net
Date: Wed May 11 12:30:50 2005
New Revision: 2511
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/content/DefaultContentHandlerDescriptor.java
Log:
add catch for a removed preference node
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/content/DefaultContentHandlerDescriptor.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/content/DefaultContentHandlerDescriptor.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/content/DefaultContentHandlerDescriptor.java
Wed May 11 12:30:50 2005
@@ -128,7 +128,14 @@
protected void dispose()
{
- m_preferences.removePreferenceChangeListener( this );
+ try
+ {
+ m_preferences.removePreferenceChangeListener( this );
+ }
+ catch( IllegalStateException e )
+ {
+ // the preference node has already been removed
+ }
}
private URI setURI( String path )
- svn commit: r2511 - development/main/transit/core/handler/src/main/net/dpml/transit/content, mcconnell, 05/11/2005
Archive powered by MHonArc 2.6.24.