Author: indika
Date: Tue Jan 27 01:25:54 2009
New Revision: 29579
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=29579

Log:
remove empty check on properties as JNDI registry accept empty properties

Modified:
   
branches/synapse/1.2.wso2v1/modules/utils/src/main/java/org/apache/synapse/commons/util/datasource/factory/DataSourceInformationRepositoryFactory.java

Modified: 
branches/synapse/1.2.wso2v1/modules/utils/src/main/java/org/apache/synapse/commons/util/datasource/factory/DataSourceInformationRepositoryFactory.java
URL: 
http://wso2.org/svn/browse/wso2/branches/synapse/1.2.wso2v1/modules/utils/src/main/java/org/apache/synapse/commons/util/datasource/factory/DataSourceInformationRepositoryFactory.java?rev=29579&r1=29578&r2=29579&view=diff
==============================================================================
--- 
branches/synapse/1.2.wso2v1/modules/utils/src/main/java/org/apache/synapse/commons/util/datasource/factory/DataSourceInformationRepositoryFactory.java
      (original)
+++ 
branches/synapse/1.2.wso2v1/modules/utils/src/main/java/org/apache/synapse/commons/util/datasource/factory/DataSourceInformationRepositoryFactory.java
      Tue Jan 27 01:25:54 2009
@@ -43,7 +43,7 @@
                 
DataSourceInformationListFactory.createDataSourceInformationList(properties);
         DataSourceInformationRepository repository = new 
DataSourceInformationRepository();
         repository.setRepositoryListener(listener);
-        if (properties != null && !properties.isEmpty()) {
+        if (properties != null) {
             repository.setConfigurationProperties(properties);
         }
         for (DataSourceInformation information : sourceInformationList) {

_______________________________________________
Esb-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to