Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2655 - development/main/transit/core/handler/src/main/net/dpml/transit/manager

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell AT dpml.net
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2655 - development/main/transit/core/handler/src/main/net/dpml/transit/manager
  • Date: Mon, 23 May 2005 01:58:14 +0000

Author: mcconnell AT dpml.net
Date: Mon May 23 01:58:13 2005
New Revision: 2655

Modified:

development/main/transit/core/handler/src/main/net/dpml/transit/manager/ProxyManager.java
Log:
Check for a null host argument.

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/manager/ProxyManager.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/manager/ProxyManager.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/manager/ProxyManager.java
Mon May 23 01:58:13 2005
@@ -105,8 +105,15 @@

public void setProxyHost( String host )
{
- Preferences prefs = getPreferences();
- prefs.put( "host", host );
+ if( null == host )
+ {
+ getPreferences().remove( "host" );
+ }
+ else
+ {
+ Preferences prefs = getPreferences();
+ prefs.put( "host", host );
+ }
}

public void addExclude( String key )



  • svn commit: r2655 - development/main/transit/core/handler/src/main/net/dpml/transit/manager, mcconnell, 05/22/2005

Archive powered by MHonArc 2.6.24.

Top of Page