--- old/src/java.naming/share/classes/javax/naming/ldap/LdapContext.java 2019-03-13 14:49:01.000000000 -0400 +++ new/src/java.naming/share/classes/javax/naming/ldap/LdapContext.java 2019-03-13 14:49:01.000000000 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2019, 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 @@ -38,7 +38,7 @@ * operations, the more generic {@code javax.naming.directory.DirContext} * should be used instead. * - *
* There are two types of request controls: *
Unless explicitly qualified, the term "request controls" refers to * context request controls. * - *
ldapContext.newInstance(reqCtls)
@@ -97,7 +97,7 @@
* A context instance's request controls are retrieved using
* the method {@code getRequestControls()}.
*
- *
@@ -133,7 +133,7 @@
* A context instance's connection request controls are retrieved using
* the method {@code getConnectControls()}.
*
- * Service Provider Requirements
+ * Service Provider Requirements
*
* A service provider supports connection and context request controls
* in the following ways. Context request controls must be associated on
@@ -143,7 +143,7 @@
* property "java.naming.ldap.control.connect" and pass this environment
* property on to context instances that it creates.
*
- * Response Controls
+ * Response Controls
*
* The method {@code LdapContext.getResponseControls()} is used to
* retrieve the response controls generated by LDAP operations executed
@@ -153,7 +153,7 @@
* To get only the reconnection response controls,
* use {@code reconnect()} followed by {@code getResponseControls()}.
*
- * Parameters
+ * Parameters
*
* A {@code Control[]} array
* passed as a parameter to any method is owned by the caller.