You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by ch...@apache.org on 2015/09/09 09:45:29 UTC

svn commit: r1701931 - /olingo/site/trunk/content/doc/odata4/tutorials/read/tutorial_read.mdtext

Author: chrish
Date: Wed Sep  9 07:45:28 2015
New Revision: 1701931

URL: http://svn.apache.org/r1701931
Log:
CMS commit to olingo by chrish

Modified:
    olingo/site/trunk/content/doc/odata4/tutorials/read/tutorial_read.mdtext

Modified: olingo/site/trunk/content/doc/odata4/tutorials/read/tutorial_read.mdtext
URL: http://svn.apache.org/viewvc/olingo/site/trunk/content/doc/odata4/tutorials/read/tutorial_read.mdtext?rev=1701931&r1=1701930&r2=1701931&view=diff
==============================================================================
--- olingo/site/trunk/content/doc/odata4/tutorials/read/tutorial_read.mdtext (original)
+++ olingo/site/trunk/content/doc/odata4/tutorials/read/tutorial_read.mdtext Wed Sep  9 07:45:28 2015
@@ -744,7 +744,7 @@ The steps for implementating the method
       EntityCollection entitySet = getData(edmEntitySet);
 
       // 3rd: create a serializer based on the requested format (json)
-      ODataFormat format = ODataFormat.fromContentType(responseFormat);
+      ODataSerializer serializer = odata.createSerializer(responseFormat);
 
       // 4th: Now serialize the content: transform from the EntitySet object to InputStream
       EdmEntityType edmEntityType = edmEntitySet.getEntityType();