Repository: incubator-juneau-website
Updated Branches:
  refs/heads/asf-site d81e61b1c -> 30cdaad5f


Fix error in website

Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/commit/30cdaad5
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/tree/30cdaad5
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/diff/30cdaad5

Branch: refs/heads/asf-site
Commit: 30cdaad5f06c11f2c1b79b8a6ae692a9305b014d
Parents: d81e61b
Author: jamesbognar <[email protected]>
Authored: Thu Sep 15 17:32:41 2016 -0400
Committer: jamesbognar <[email protected]>
Committed: Thu Sep 15 17:32:41 2016 -0400

----------------------------------------------------------------------
 content/about.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/30cdaad5/content/about.html
----------------------------------------------------------------------
diff --git a/content/about.html b/content/about.html
index 2ae3d59..d75c9dc 100644
--- a/content/about.html
+++ b/content/about.html
@@ -95,7 +95,7 @@
        SerializerGroup sg = <jk>new</jk> SerializerGroup()
                .append(JsonSerializer.<jk>class</jk>, 
UrlEncodingSerializer.<jk>class</jk>);
                
.setProperty(SerializerContext.<jsf>SERIALIZER_useIndentation</jsf>, 
<jk>true</jk>)
-               .addTransforms(CalendarSwap.ISO8601DT.<jk>class</jk>);
+               .addPojoSwaps(CalendarSwap.ISO8601DT.<jk>class</jk>);
 
        <jc>// Find the appropriate serializer by Accept type and serialize our 
POJO to the specified writer.</jc>
        sg.getSerializer(<js>"text/invalid, text/json;q=0.8, text/*;q:0.6, 
*\/*;q=0.0"</js>)
@@ -104,7 +104,7 @@
        <jc>// Construct a new parser group with configuration parameters that 
get applied to all parsers.</jc>
        ParserGroup pg = <jk>new</jk> ParserGroup()
                .append(JsonSerializer.<jk>class</jk>, 
UrlEncodingSerializer.<jk>class</jk>);
-               .addTransforms(CalendarSwap.ISO8601DT.<jk>class</jk>);
+               .addPojoSwaps(CalendarSwap.ISO8601DT.<jk>class</jk>);
 
        Person p = pg.getParser(<js>"text/json"</js>).parse(myReader, 
Person.<jk>class</jk>);
        </p>

Reply via email to