Repository: incubator-juneau-website Updated Branches: refs/heads/asf-site c426760d8 -> 4ae65aff1
Fix typos. 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/4ae65aff Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/tree/4ae65aff Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/diff/4ae65aff Branch: refs/heads/asf-site Commit: 4ae65aff1f9dc0e56295b4470fe6916ab9d38e24 Parents: c426760 Author: JamesBognar <[email protected]> Authored: Tue Feb 21 10:09:37 2017 -0500 Committer: JamesBognar <[email protected]> Committed: Tue Feb 21 10:09:37 2017 -0500 ---------------------------------------------------------------------- content/about.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/4ae65aff/content/about.html ---------------------------------------------------------------------- diff --git a/content/about.html b/content/about.html index 112e699..7c51a47 100644 --- a/content/about.html +++ b/content/about.html @@ -178,7 +178,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>); + .append(JsonParser.<jk>class</jk>, UrlEncodingParser.<jk>class</jk>); .addPojoSwaps(CalendarSwap.ISO8601DT.<jk>class</jk>); Person p = pg.getParser(<js>"text/json"</js>).parse(myReader, Person.<jk>class</jk>); @@ -750,8 +750,8 @@ <p class='bcode'> <ja>@RestResource</ja>( path=<js>"/myResource"</js>, - config=<js>"$S{my.config.file}"</js>, <js>// Path to config file (here pulled from a system property)</js> - stylesheet=<js>"$C{MyResourceSettings/myStylesheet}"</js> <js>// Stylesheet location pulled from config file.</js> + config=<js>"$S{my.config.file}"</js>, <jc>// Path to config file (here pulled from a system property)</jc> + stylesheet=<js>"$C{MyResourceSettings/myStylesheet}"</js> <jc>// Stylesheet location pulled from config file.</jc> ) <jk>public class</jk> MyResource <jk>extends</jk> RestServlet { </p>
