You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by tm...@apache.org on 2006/10/24 13:20:48 UTC

svn commit: r467309 - /db/derby/code/trunk/java/client/org/apache/derby/client/net/Request.java

Author: tmnk
Date: Tue Oct 24 04:20:47 2006
New Revision: 467309

URL: http://svn.apache.org/viewvc?view=rev&rev=467309
Log:
- DERBY-1990 Make writeEncryptedScalarStream and writePlainScalarStream methods in org.apache.derby.client.net.Request as private - Patch by Tomohito Nakayama (tomonaka@basil.ocn.ne.jp)

Modified:
    db/derby/code/trunk/java/client/org/apache/derby/client/net/Request.java

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/net/Request.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/net/Request.java?view=diff&rev=467309&r1=467308&r2=467309
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/net/Request.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/net/Request.java Tue Oct 24 04:20:47 2006
@@ -253,13 +253,13 @@
 
     // We need to reuse the agent's sql exception accumulation mechanism
     // for this write exception, pad if the length is too big, and truncation if the length is too small
-    final void writeEncryptedScalarStream(boolean chained,
-										  boolean chainedWithSameCorrelator,
-										  int codePoint,
-										  int length,
-										  java.io.InputStream in,
-										  boolean writeNullByte,
-										  int parameterIndex) throws DisconnectException, SqlException {
+    final private void writeEncryptedScalarStream(boolean chained,
+                                                  boolean chainedWithSameCorrelator,
+                                                  int codePoint,
+                                                  int length,
+                                                  java.io.InputStream in,
+                                                  boolean writeNullByte,
+                                                  int parameterIndex) throws DisconnectException, SqlException {
         
 
 			
@@ -417,13 +417,13 @@
 	
 	// We need to reuse the agent's sql exception accumulation mechanism
     // for this write exception, pad if the length is too big, and truncation if the length is too small
-	final void writePlainScalarStream(boolean chained,
-									  boolean chainedWithSameCorrelator,
-									  int codePoint,
-									  int length,
-									  java.io.InputStream in,
-									  boolean writeNullByte,
-									  int parameterIndex) throws DisconnectException, SqlException {
+	final private void writePlainScalarStream(boolean chained,
+                                              boolean chainedWithSameCorrelator,
+                                              int codePoint,
+                                              int length,
+                                              java.io.InputStream in,
+                                              boolean writeNullByte,
+                                              int parameterIndex) throws DisconnectException, SqlException {
 		int leftToRead = length;
 		int extendedLengthByteCount = prepScalarStream(chained,
 													   chainedWithSameCorrelator,