aboutsummaryrefslogtreecommitdiff
path: root/src/java.base/share/classes/java/net/HttpURLConnection.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/HttpURLConnection.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/HttpURLConnection.java')
-rw-r--r--src/java.base/share/classes/java/net/HttpURLConnection.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/java.base/share/classes/java/net/HttpURLConnection.java b/src/java.base/share/classes/java/net/HttpURLConnection.java
index d458fefa41e..6bfddfaf6d8 100644
--- a/src/java.base/share/classes/java/net/HttpURLConnection.java
+++ b/src/java.base/share/classes/java/net/HttpURLConnection.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 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
@@ -424,11 +424,11 @@ public abstract class HttpURLConnection extends URLConnection {
* @see #getInstanceFollowRedirects
* @since 1.3
*/
- public void setInstanceFollowRedirects(boolean followRedirects) {
+ public void setInstanceFollowRedirects(boolean followRedirects) {
instanceFollowRedirects = followRedirects;
- }
+ }
- /**
+ /**
* Returns the value of this {@code HttpURLConnection}'s
* {@code instanceFollowRedirects} field.
*
@@ -438,9 +438,9 @@ public abstract class HttpURLConnection extends URLConnection {
* @see #setInstanceFollowRedirects(boolean)
* @since 1.3
*/
- public boolean getInstanceFollowRedirects() {
- return instanceFollowRedirects;
- }
+ public boolean getInstanceFollowRedirects() {
+ return instanceFollowRedirects;
+ }
/**
* Set the method for the URL request, one of: