This is an automated email from the ASF dual-hosted git repository.
jamesbognar pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/juneau-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new b7517d2 Website updates for Juneau 8.1.3
b7517d2 is described below
commit b7517d21b78c353616cd2f90d38afb86febe5d88
Author: JamesBognar <[email protected]>
AuthorDate: Mon Jan 20 10:18:19 2020 -0500
Website updates for Juneau 8.1.3
---
content/petstore.html | 2 +-
templates/petstore.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/petstore.html b/content/petstore.html
index f4c3ab6..f82811f 100644
--- a/content/petstore.html
+++ b/content/petstore.html
@@ -184,7 +184,7 @@
<jk>try</jk> (RestClient rc =
RestClient.create(SimpleJsonSerializer.<jk>class</jk>
JsonParser.<jk>class</jk>).build()) {
<jc>// Instantiate our proxy.</jc>
- PetStore petStore =
rc.getRemoteResource(PetStore.<jk>class</jk>, <js>"http://localhost:5000"</js>);
+ PetStore petStore =
rc.getRemote(PetStore.<jk>class</jk>, <js>"http://localhost:5000"</js>);
<jc>// Print out the pets in the store.</jc>
Collection<Pet> pets = petStore.getPets();
diff --git a/templates/petstore.html b/templates/petstore.html
index f4c3ab6..f82811f 100644
--- a/templates/petstore.html
+++ b/templates/petstore.html
@@ -184,7 +184,7 @@
<jk>try</jk> (RestClient rc =
RestClient.create(SimpleJsonSerializer.<jk>class</jk>
JsonParser.<jk>class</jk>).build()) {
<jc>// Instantiate our proxy.</jc>
- PetStore petStore =
rc.getRemoteResource(PetStore.<jk>class</jk>, <js>"http://localhost:5000"</js>);
+ PetStore petStore =
rc.getRemote(PetStore.<jk>class</jk>, <js>"http://localhost:5000"</js>);
<jc>// Print out the pets in the store.</jc>
Collection<Pet> pets = petStore.getPets();