Skip to content
This repository was archived by the owner on May 28, 2018. It is now read-only.

Commit 1e9b6ce

Browse files
committed
JERSEY-3239: Code snippet has to call ClientBuilder.newClient(Configuration).
Change-Id: I37f6ecdcd6247657db8bc2e0f84c532b7f98e05c
1 parent 8da4caf commit 1e9b6ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/main/docbook/logging.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
55
6-
Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved.
6+
Copyright (c) 2016-2017 Oracle and/or its affiliates. All rights reserved.
77
88
The contents of this file are subject to the terms of either the GNU
99
General Public License Version 2 only ("GPL") or the Common Development
@@ -193,10 +193,10 @@
193193
<para>
194194
An example of initializing server-side logging with the highest verbosity.
195195
<example>
196-
<title>Logging on client-side</title>
196+
<title>Logging on the client side</title>
197197
<programlisting language="java" linenumbering="numbered"><![CDATA[ ClientConfig clientConfig = new ClientConfig();
198198
clientConfig.property(LoggingFeature.LOGGING_FEATURE_VERBOSITY_CLIENT, LoggingFeature.Verbosity.PAYLOAD_ANY);
199-
Client client = ClientBuilder.newBuilder(clientConfig);]]>
199+
Client client = ClientBuilder.newClient(clientConfig);]]>
200200
</programlisting>
201201
</example>
202202
</para>

0 commit comments

Comments
 (0)