db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r544407 - /db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DDMWriter.java
Date Tue, 05 Jun 2007 06:39:50 GMT
Author: kahatlen
Date: Mon Jun  4 23:39:49 2007
New Revision: 544407

URL: http://svn.apache.org/viewvc?view=rev&rev=544407
Log:
DERBY-2694: Removed unused variable and unused imports in DDMWriter

Modified:
    db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DDMWriter.java

Modified: db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DDMWriter.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DDMWriter.java?view=diff&rev=544407&r1=544406&r2=544407
==============================================================================
--- db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DDMWriter.java (original)
+++ db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DDMWriter.java Mon Jun  4 23:39:49
2007
@@ -23,14 +23,11 @@
 
 import java.io.OutputStream;
 import java.io.InputStream;
-import java.io.BufferedInputStream;
 import java.io.BufferedOutputStream;
 import java.io.UnsupportedEncodingException;
 import org.apache.derby.iapi.services.sanity.SanityManager;
 import java.sql.SQLException;
-import java.sql.DataTruncation;
 import java.math.BigDecimal;
-import org.apache.derby.iapi.error.ExceptionSeverity;
 import java.util.Arrays;
 import org.apache.derby.iapi.reference.Property;
 import org.apache.derby.iapi.services.property.PropertyUtil;
@@ -1203,7 +1200,6 @@
 		try {
 			byte [] byteval = s.getBytes(NetworkServerControlImpl.DEFAULT_ENCODING);
 			int origLen = byteval.length;
-			boolean multiByteTrunc = false;
 			int writeLen =
 				java.lang.Math.min(FdocaConstants.LONGVARCHAR_MAX_LEN,
 								   origLen);



Mime
View raw message