db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r382537 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseTaskBase.java
Date Thu, 02 Mar 2006 22:45:05 GMT
Author: tomdz
Date: Thu Mar  2 14:45:03 2006
New Revision: 382537

URL: http://svn.apache.org/viewcvs?rev=382537&view=rev
Log:
Schema & catalog are now only used in the tasks if explicitly set to a non-empty value

Modified:
    db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseTaskBase.java

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseTaskBase.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseTaskBase.java?rev=382537&r1=382536&r2=382537&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseTaskBase.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DatabaseTaskBase.java Thu Mar  2 14:45:03
2006
@@ -90,7 +90,10 @@
      */
     public void setCatalogPattern(String catalogPattern)
     {
-        _platformConf.setCatalogPattern(catalogPattern);
+        if ((catalogPattern != null) && (catalogPattern.length() > 0))
+        {
+            _platformConf.setCatalogPattern(catalogPattern);
+        }
     }
     
     /**
@@ -100,7 +103,10 @@
      */
     public void setSchemaPattern(String schemaPattern)
     {
-        _platformConf.setSchemaPattern(schemaPattern);
+        if ((schemaPattern != null) && (schemaPattern.length() > 0))
+        {
+            _platformConf.setSchemaPattern(schemaPattern);
+        }
     }
 
     /**



Mime
View raw message