Repository: incubator-juneau-website Updated Branches: refs/heads/asf-site 5eae6ed21 -> 7dd7a3431
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/7dd7a343 Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/tree/7dd7a343 Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/diff/7dd7a343 Branch: refs/heads/asf-site Commit: 7dd7a3431ad2ef9215ee19e1835913e85d741d14 Parents: 5eae6ed Author: JamesBognar <[email protected]> Authored: Sun Feb 26 19:21:05 2017 -0500 Committer: JamesBognar <[email protected]> Committed: Sun Feb 26 19:21:05 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/7dd7a343/content/about.html ---------------------------------------------------------------------- diff --git a/content/about.html b/content/about.html index 875e00a..596fd08 100644 --- a/content/about.html +++ b/content/about.html @@ -44,7 +44,7 @@ The default serializers can often be used to serializers POJOs in a single line of code... </p> <p class='bcode'> - <jc>// A simple POJO class</jc> + <jc>// A simple bean</jc> <jk>public class</jk> Person { <jk>public</jk> String name = <js>"John Smith"</js>; <jk>public int</jk> age = 21; @@ -140,11 +140,11 @@ <jc>// Parse a JSON object as a HashMap<String,Person>.</jc> json = <js>"{a:{name:'John Smith',age:21},b:{name:'Joe Smith',age:42}}"</js>; - Map<String,Person> m5 = parser.parse(json, HashMap.<jk>class</jk>, String.<jk>class</jk>, Person.<jk>class</jk>) + Map<String,Person> m5 = parser.parse(json, HashMap.<jk>class</jk>, String.<jk>class</jk>, Person.<jk>class</jk>); <jc>// Parse a JSON object as a HashMap<String,LinkedList<Person>>.</jc> json = <js>"{a:[{name:'John Smith',age:21},{name:'Joe Smith',age:42}]}"</js>; - Map<String,List<Person>> m6 = parser.parse(json, HashMap.<jk>class</jk>, String.<jk>class</jk>, LinkedList.<jk>class</jk>, Person.<jk>class</jk>) + Map<String,List<Person>> m6 = parser.parse(json, HashMap.<jk>class</jk>, String.<jk>class</jk>, LinkedList.<jk>class</jk>, Person.<jk>class</jk>); <jc>// Parse a JSON array of integers as a Collection of Integers or int[] array.</jc> json = <js>"[1,2,3]"</js>;
