You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2012/10/03 15:51:47 UTC

svn commit: r1393488 - /jena/trunk/jena-arq/src/main/java/org/openjena/riot/web/HttpOp.java

Author: andy
Date: Wed Oct  3 13:51:46 2012
New Revision: 1393488

URL: http://svn.apache.org/viewvc?rev=1393488&view=rev
Log:
Use long, not int.

Modified:
    jena/trunk/jena-arq/src/main/java/org/openjena/riot/web/HttpOp.java

Modified: jena/trunk/jena-arq/src/main/java/org/openjena/riot/web/HttpOp.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/main/java/org/openjena/riot/web/HttpOp.java?rev=1393488&r1=1393487&r2=1393488&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/main/java/org/openjena/riot/web/HttpOp.java (original)
+++ jena/trunk/jena-arq/src/main/java/org/openjena/riot/web/HttpOp.java Wed Oct  3 13:51:46 2012
@@ -132,7 +132,7 @@ public class HttpOp
      */
    //TODO Use MediaType
     public static void execHttpPost(String url, String contentType, 
-                                    InputStream input, int length)
+                                    InputStream input, long length)
     {
         execHttpPost(url, contentType, input, length, null, null ) ;
     }
@@ -158,7 +158,7 @@ public class HttpOp
      * The input stream is assumed to be UTF-8.
      */
     public static void execHttpPost(String url, String contentType, 
-                                    InputStream input, int length,
+                                    InputStream input, long length,
                                     String acceptType, Map<String, HttpResponseHandler> handlers)
     {
         
@@ -246,7 +246,7 @@ public class HttpOp
     }
     
     /** Execute an HTTP PUT operation */
-    public static void execHttpPut(String url, String contentType, InputStream input, int length)
+    public static void execHttpPut(String url, String contentType, InputStream input, long length)
     {
         InputStreamEntity e = new InputStreamEntity(input, length) ;
         e.setContentType(contentType) ;