db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r375936 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mssql/MSSqlModelReader.java
Date Wed, 08 Feb 2006 11:34:03 GMT
Author: tomdz
Date: Wed Feb  8 03:34:00 2006
New Revision: 375936

URL: http://svn.apache.org/viewcvs?rev=375936&view=rev
Log:
Accidently used StringBuilder (Java 5 only) instead of StringBuffer

Modified:
    db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mssql/MSSqlModelReader.java

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mssql/MSSqlModelReader.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mssql/MSSqlModelReader.java?rev=375936&r1=375935&r2=375936&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mssql/MSSqlModelReader.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/mssql/MSSqlModelReader.java Wed
Feb  8 03:34:00 2006
@@ -82,8 +82,8 @@
 	{
 		// Sql Server generates an index "[pk name in uppercase]__[table name]__[hex number]"
 		// TODO: test with multiple pks
-		StringBuilder pkIndexName = new StringBuilder();
-		Column[]      pks         = table.getPrimaryKeyColumns();
+		StringBuffer pkIndexName = new StringBuffer();
+		Column[]     pks         = table.getPrimaryKeyColumns();
 
 		if (pks.length > 0)
 		{



Mime
View raw message