You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by ks...@apache.org on 2012/02/03 04:28:45 UTC

svn commit: r1239994 - /juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/ConnectionFactoryImpl.java

Author: kstam
Date: Fri Feb  3 03:28:44 2012
New Revision: 1239994

URL: http://svn.apache.org/viewvc?rev=1239994&view=rev
Log:
SCOUT-126, using putAll rather then dropping the existing properties.

Modified:
    juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/ConnectionFactoryImpl.java

Modified: juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/ConnectionFactoryImpl.java
URL: http://svn.apache.org/viewvc/juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/ConnectionFactoryImpl.java?rev=1239994&r1=1239993&r2=1239994&view=diff
==============================================================================
--- juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/ConnectionFactoryImpl.java (original)
+++ juddi/scout/trunk/src/main/java/org/apache/ws/scout/registry/ConnectionFactoryImpl.java Fri Feb  3 03:28:44 2012
@@ -136,7 +136,7 @@ public class ConnectionFactoryImpl exten
     public void setProperties(Properties properties)
     {
         if (properties==null) properties = new Properties();
-        this.properties = properties;
+        this.properties.putAll(properties);
         if (isUDDIv3(properties)) {
             // UDDI v3 uses the juddi client
             queryManagerURL     = "org.apache.juddi.v3.client.transport.wrapper.UDDIInquiryService#inquire";
@@ -146,8 +146,7 @@ public class ConnectionFactoryImpl exten
         } else {
             queryManagerURL = properties.getProperty(QUERYMANAGER_PROPERTY);
             lifeCycleManagerURL = properties.getProperty(LIFECYCLEMANAGER_PROPERTY);
-            securityManagerURL = properties.getProperty(SECURITYMANAGER_PROPERTY);
-        }
+       }
 
         transportClass = properties.getProperty(RegistryImpl.TRANSPORT_CLASS_PROPERTY_NAME);
         semanticEquivalences = properties.getProperty(SEMANTICEQUIVALENCES_PROPERTY);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org