You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juneau.apache.org by dm...@apache.org on 2017/06/14 16:34:51 UTC

incubator-juneau git commit: Typo: RestClientBuilder().setBasicAuth is actually RestClientBuilder().basicAuth

Repository: incubator-juneau
Updated Branches:
  refs/heads/master ad314d42e -> d5ba83970


Typo: RestClientBuilder().setBasicAuth is actually
RestClientBuilder().basicAuth

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

Branch: refs/heads/master
Commit: d5ba839707e462f6791a18ba752d45e623e14bdd
Parents: ad314d4
Author: David Goddard <dm...@apache.org>
Authored: Wed Jun 14 18:34:46 2017 +0200
Committer: David Goddard <dm...@apache.org>
Committed: Wed Jun 14 18:34:46 2017 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/juneau/rest/client/package.html       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/d5ba8397/juneau-rest-client/src/main/java/org/apache/juneau/rest/client/package.html
----------------------------------------------------------------------
diff --git a/juneau-rest-client/src/main/java/org/apache/juneau/rest/client/package.html b/juneau-rest-client/src/main/java/org/apache/juneau/rest/client/package.html
index 0696559..5e5fe02 100644
--- a/juneau-rest-client/src/main/java/org/apache/juneau/rest/client/package.html
+++ b/juneau-rest-client/src/main/java/org/apache/juneau/rest/client/package.html
@@ -296,7 +296,7 @@
 			<p class='bcode'>
 	<jc>// Create a client that performs BASIC authentication using the specified user/pw.</jc>
 	RestClient restClient = <jk>new</jk> RestClientBuilder() 
-		.setBasicAuth(<jsf>HOST</jsf>, <jsf>PORT</jsf>, <jsf>USER</jsf>, <jsf>PW</jsf>)
+		.basicAuth(<jsf>HOST</jsf>, <jsf>PORT</jsf>, <jsf>USER</jsf>, <jsf>PW</jsf>)
 		.build();
 		</p>
 		<p>