manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1493763 - in /manifoldcf/trunk: ./ framework/core/src/main/java/org/apache/manifoldcf/core/common/XThreadOutputStream.java
Date Mon, 17 Jun 2013 14:01:38 GMT
Author: kwright
Date: Mon Jun 17 14:01:38 2013
New Revision: 1493763

URL: http://svn.apache.org/r1493763
Log:
Make sure all output stream methods are implemented.  Part of CONNECTORS-714.

Modified:
    manifoldcf/trunk/   (props changed)
    manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/common/XThreadOutputStream.java

Propchange: manifoldcf/trunk/
------------------------------------------------------------------------------
  Merged /manifoldcf/branches/CONNECTORS-714:r1493761

Modified: manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/common/XThreadOutputStream.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/common/XThreadOutputStream.java?rev=1493763&r1=1493762&r2=1493763&view=diff
==============================================================================
--- manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/common/XThreadOutputStream.java
(original)
+++ manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/common/XThreadOutputStream.java
Mon Jun 17 14:01:38 2013
@@ -33,7 +33,17 @@ public class XThreadOutputStream extends
   public XThreadOutputStream(XThreadInputStream inputStream) {
     this.inputStream = inputStream;
   }
-    
+  
+  @Override
+  public void write(byte[] buffer)
+    throws IOException {
+    try {
+      inputStream.stuffQueue(buffer,0,buffer.length);
+    } catch (InterruptedException e) {
+      throw new InterruptedIOException(e.getMessage());
+    }
+  }
+
   @Override
   public void write(int c)
     throws IOException {



Mime
View raw message