Author: mibo
Date: Wed Feb 10 14:09:00 2016
New Revision: 1729605

URL: http://svn.apache.org/viewvc?rev=1729605&view=rev
Log:
CMS commit to olingo by mibo

Modified:
    
olingo/site/trunk/content/doc/odata2/tutorials/Olingo_Tutorial_AdvancedReadWrite_Batch.mdtext

Modified: 
olingo/site/trunk/content/doc/odata2/tutorials/Olingo_Tutorial_AdvancedReadWrite_Batch.mdtext
URL: 
http://svn.apache.org/viewvc/olingo/site/trunk/content/doc/odata2/tutorials/Olingo_Tutorial_AdvancedReadWrite_Batch.mdtext?rev=1729605&r1=1729604&r2=1729605&view=diff
==============================================================================
--- 
olingo/site/trunk/content/doc/odata2/tutorials/Olingo_Tutorial_AdvancedReadWrite_Batch.mdtext
 (original)
+++ 
olingo/site/trunk/content/doc/odata2/tutorials/Olingo_Tutorial_AdvancedReadWrite_Batch.mdtext
 Wed Feb 10 14:09:00 2016
@@ -30,7 +30,7 @@ The following example shows a possible i
     @Override
     public ODataResponse executeBatch(final BatchHandler handler, final String 
contentType, final InputStream content)
         throws ODataException {
-      ODataResponse batchResponse;
+
       List<BatchResponsePart> batchResponseParts = new 
ArrayList<BatchResponsePart>();
       PathInfo pathInfo = getContext().getPathInfo();
       EntityProviderBatchProperties batchProperties = 
EntityProviderBatchProperties.init().pathInfo(pathInfo).build();
@@ -38,8 +38,7 @@ The following example shows a possible i
       for (BatchRequestPart batchPart : batchParts) {
         batchResponseParts.add(handler.handleBatchPart(batchPart));
       }
-      batchResponse = EntityProvider.writeBatchResponse(batchResponseParts);
-      return batchResponse;
+      return EntityProvider.writeBatchResponse(batchResponseParts);
     }
 
 


Reply via email to