aboutsummaryrefslogtreecommitdiff
path: root/src/java.base/share/classes/java/net/URLConnection.java
diff options
context:
space:
mode:
authorIvan Gerasimov <igerasim@openjdk.org>2020-03-30 13:59:16 -0700
committerIvan Gerasimov <igerasim@openjdk.org>2020-03-30 13:59:16 -0700
commit53b2368d495d865c8b5c4e481a57f6e06a616490 (patch)
tree9e514f57221620cafcaeefe872c8b6b57d8b2bc5 /src/java.base/share/classes/java/net/URLConnection.java
parent916f00acc1cee7fe39751969dcb138b9524a739d (diff)
downloadopenjdk-53b2368d495d865c8b5c4e481a57f6e06a616490.tar.gz
openjdk-53b2368d495d865c8b5c4e481a57f6e06a616490.zip
8241760: Typos: empty lines in javadoc, inconsistent indents, etc. (net and nio)
Reviewed-by: alanb, prappo, dfuchs
Diffstat (limited to 'src/java.base/share/classes/java/net/URLConnection.java')
-rw-r--r--src/java.base/share/classes/java/net/URLConnection.java34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/java.base/share/classes/java/net/URLConnection.java b/src/java.base/share/classes/java/net/URLConnection.java
index a26cbc9bf4a..810885525ed 100644
--- a/src/java.base/share/classes/java/net/URLConnection.java
+++ b/src/java.base/share/classes/java/net/URLConnection.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1995, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -157,7 +157,7 @@ import sun.security.action.GetPropertyAction;
*/
public abstract class URLConnection {
- /**
+ /**
* The URL represents the remote object on the World Wide Web to
* which this connection is opened.
* <p>
@@ -172,7 +172,7 @@ public abstract class URLConnection {
*/
protected URL url;
- /**
+ /**
* This variable is set by the {@code setDoInput} method. Its
* value is returned by the {@code getDoInput} method.
* <p>
@@ -187,7 +187,7 @@ public abstract class URLConnection {
*/
protected boolean doInput = true;
- /**
+ /**
* This variable is set by the {@code setDoOutput} method. Its
* value is returned by the {@code getDoOutput} method.
* <p>
@@ -204,7 +204,7 @@ public abstract class URLConnection {
private static boolean defaultAllowUserInteraction = false;
- /**
+ /**
* If {@code true}, this {@code URL} is being examined in
* a context in which it makes sense to allow user interactions such
* as popping up an authentication dialog. If {@code false},
@@ -225,7 +225,7 @@ public abstract class URLConnection {
private static volatile boolean defaultUseCaches = true;
- /**
+ /**
* If {@code true}, the protocol is allowed to use caching
* whenever it can. If {@code false}, the protocol must always
* try to get a fresh copy of the object.
@@ -248,7 +248,7 @@ public abstract class URLConnection {
private static final ConcurrentHashMap<String,Boolean> defaultCaching =
new ConcurrentHashMap<>();
- /**
+ /**
* Some protocols support skipping the fetching of the object unless
* the object has been modified more recently than a certain time.
* <p>
@@ -268,7 +268,7 @@ public abstract class URLConnection {
*/
protected long ifModifiedSince = 0;
- /**
+ /**
* If {@code false}, this connection object has not created a
* communications link to the specified URL. If {@code true},
* the communications link has been established.
@@ -286,9 +286,9 @@ public abstract class URLConnection {
*/
private MessageHeader requests;
- /**
- * @since 1.1
- */
+ /**
+ * @since 1.1
+ */
private static volatile FileNameMap fileNameMap;
/**
@@ -372,7 +372,7 @@ public abstract class URLConnection {
* connection can be established, a
* java.net.SocketTimeoutException is raised. A timeout of zero is
* interpreted as an infinite timeout.
-
+ *
* <p> Some non-standard implementation of this method may ignore
* the specified timeout. To see the connect timeout set, please
* call getConnectTimeout().
@@ -416,7 +416,7 @@ public abstract class URLConnection {
* for read, a java.net.SocketTimeoutException is raised. A
* timeout of zero is interpreted as an infinite timeout.
*
- *<p> Some non-standard implementation of this method ignores the
+ * <p> Some non-standard implementation of this method ignores the
* specified timeout. To see the read timeout set, please call
* getReadTimeout().
*
@@ -1032,7 +1032,7 @@ public abstract class URLConnection {
return ifModifiedSince;
}
- /**
+ /**
* Returns the default value of a {@code URLConnection}'s
* {@code useCaches} flag.
* <p>
@@ -1049,7 +1049,7 @@ public abstract class URLConnection {
return defaultUseCaches;
}
- /**
+ /**
* Sets the default value of the {@code useCaches} field to the
* specified value. This default value can be over-ridden
* per protocol using {@link #setDefaultUseCaches(String,boolean)}
@@ -1061,7 +1061,7 @@ public abstract class URLConnection {
defaultUseCaches = defaultusecaches;
}
- /**
+ /**
* Sets the default value of the {@code useCaches} field for the named
* protocol to the given value. This value overrides any default setting
* set by {@link #setDefaultUseCaches(boolean)} for the given protocol.
@@ -1078,7 +1078,7 @@ public abstract class URLConnection {
defaultCaching.put(protocol, defaultVal);
}
- /**
+ /**
* Returns the default value of the {@code useCaches} flag for the given protocol. If
* {@link #setDefaultUseCaches(String,boolean)} was called for the given protocol,
* then that value is returned. Otherwise, if {@link #setDefaultUseCaches(boolean)}