db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r369930 - /db/ddlutils/trunk/src/test/org/apache/ddlutils/io/RoundtripTestBase.java
Date Tue, 17 Jan 2006 21:47:14 GMT
Author: mvdb
Date: Tue Jan 17 13:47:11 2006
New Revision: 369930

URL: http://svn.apache.org/viewcvs?rev=369930&view=rev
Log:
Ignore case when comparing foreignkey names.
Think for the tests it is not a problem.

Modified:
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/RoundtripTestBase.java

Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/RoundtripTestBase.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/RoundtripTestBase.java?rev=369930&r1=369929&r2=369930&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/io/RoundtripTestBase.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/io/RoundtripTestBase.java Tue Jan 17 13:47:11
2006
@@ -377,7 +377,7 @@
             for (int i = 0; i < actual.getForeignKeyCount(); i++)
             {
                 fk_actual = actual.getForeignKey(i);
-                if (fk_actual.getName().equals(fk_expected.getName()))
+                if (fk_actual.getName().equalsIgnoreCase(fk_expected.getName()))
                 {
                     break;
                 }



Mime
View raw message