Replace <code> with {@code} in javadoc
{@code foo} is shorter and easier to read and write than
<code>foo</code>, which is why it was introduced years ago in the
javadoc processor. Make consistent use of it throughout the
documentation comments.
Change-Id: I59d428cb6c5015453629398b0697891b83c8e91d
This commit is contained in:
@@ -44,15 +44,15 @@ import java.net.URL;
|
||||
|
||||
final class ProxyUtil {
|
||||
/**
|
||||
* Configure the JRE's standard HTTP based on <code>http_proxy</code>.
|
||||
* Configure the JRE's standard HTTP based on {@code http_proxy}.
|
||||
* <p>
|
||||
* The popular libcurl library honors the <code>http_proxy</code> environment
|
||||
* The popular libcurl library honors the {@code http_proxy} environment
|
||||
* variable as a means of specifying an HTTP proxy for requests made behind a
|
||||
* firewall. This is not natively recognized by the JRE, so this method can be
|
||||
* used by command line utilities to configure the JRE before the first
|
||||
* request is sent.
|
||||
*
|
||||
* @throws MalformedURLException the value in <code>http_proxy</code> is
|
||||
* @throws MalformedURLException the value in {@code http_proxy} is
|
||||
* unsupportable.
|
||||
*/
|
||||
static void configureHttpProxy() throws MalformedURLException {
|
||||
|
||||
Reference in New Issue
Block a user