8241760: Typos: empty lines in javadoc, inconsistent indents, etc. (net and nio)

Reviewed-by: alanb, prappo, dfuchs
This commit is contained in:
Ivan Gerasimov 2020-03-30 13:59:16 -07:00
parent 916f00acc1
commit 53b2368d49
25 changed files with 107 additions and 99 deletions

View file

@ -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: