manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1427277 - /manifoldcf/branches/CONNECTORS-594/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java
Date Tue, 01 Jan 2013 02:01:28 GMT
Author: kwright
Date: Tue Jan  1 02:01:27 2013
New Revision: 1427277

URL: http://svn.apache.org/viewvc?rev=1427277&view=rev
Log:
Return length when requested

Modified:
    manifoldcf/branches/CONNECTORS-594/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java

Modified: manifoldcf/branches/CONNECTORS-594/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-594/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java?rev=1427277&r1=1427276&r2=1427277&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-594/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java
(original)
+++ manifoldcf/branches/CONNECTORS-594/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/HttpPoster.java
Tue Jan  1 02:01:27 2013
@@ -1079,6 +1079,12 @@ public class HttpPoster
     }
     
     @Override
+    public Long getSize()
+    {
+      return new Long(length);
+    }
+    
+    @Override
     public InputStream getStream() throws IOException
     {
       return is;



Mime
View raw message