db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1378439 - /db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DataTest.java
Date Wed, 29 Aug 2012 03:40:55 GMT
Author: tfischer
Date: Wed Aug 29 03:40:55 2012
New Revision: 1378439

URL: http://svn.apache.org/viewvc?rev=1378439&view=rev
Log:
remove unnecessary code which was left over from copy/paste

Modified:
    db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DataTest.java

Modified: db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DataTest.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DataTest.java?rev=1378439&r1=1378438&r2=1378439&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DataTest.java (original)
+++ db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/DataTest.java Wed
Aug 29 03:40:55 2012
@@ -76,7 +76,6 @@ import org.apache.torque.test.NopkPeer;
 import org.apache.torque.test.NullValueTable;
 import org.apache.torque.test.NullValueTablePeer;
 import org.apache.torque.util.BasePeer;
-import org.apache.torque.util.BasePeerImpl;
 import org.apache.torque.util.CountHelper;
 import org.apache.torque.util.Transaction;
 
@@ -1060,12 +1059,9 @@ public class DataTest extends BaseDataba
         {
             int length = 100000;
             byte[] bytes = new byte[length];
-            StringBuffer chars = new StringBuffer();
-            String charTemplate = "1234567890abcdefghijklmnopqrstuvwxyz";
             for (int i = 0; i < length; ++i)
             {
                 bytes[i] = new Integer(i % 256).byteValue();
-                chars.append(charTemplate.charAt(i % charTemplate.length()));
             }
             blobTest.setBlobValue(bytes);
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message