--- old/src/java.security.jgss/share/classes/org/ietf/jgss/GSSCredential.java 2015-04-15 19:37:20.008418455 +0400 +++ new/src/java.security.jgss/share/classes/org/ietf/jgss/GSSCredential.java 2015-04-15 19:37:19.732418467 +0400 @@ -35,7 +35,7 @@ * may be used to perform context initiation, acceptance, or both.
*
* Credentials are instantiated using one of the
- * createCredential
methods in the {@link GSSManager
+ * {@code createCredential} methods in the {@link GSSManager
* GSSManager} class. GSS-API credential creation is not
* intended to provide a "login to the network" function, as such a
* function would involve the creation of new credentials rather than
@@ -75,7 +75,7 @@
*
* Oid [] mechs = cred.getMechs();
* if (mechs != null) {
- * for (int i = 0; i < mechs.length; i++)
+ * for (int i = 0; i{@literal <} mechs.length; i++)
* System.out.println(mechs[i].toString());
* }
*
@@ -297,8 +297,8 @@
* with a variety of clients using different security mechanisms.
*
* This routine adds the new credential element "in-place". To add the
- * element in a new credential, first call clone
to obtain a
- * copy of this credential, then call its add
method.
+ * element in a new credential, first call {@code clone} to obtain a + * copy of this credential, then call its {@code add} method.
*
* As always, GSS-API implementations must impose a local access-control
* policy on callers to prevent unauthorized callers from acquiring
@@ -311,7 +311,7 @@
* getRemainingAcceptLifetime} on the credential.
*
* @param name the name of the principal for whom this credential is to
- * be acquired. Use null
to specify the default
+ * be acquired. Use {@code null} to specify the default
* principal.
* @param initLifetime the number of seconds that the credential element
* should remain valid for initiating of security contexts. Use {@link
@@ -354,8 +354,8 @@
* object. The two credentials must be acquired over the same
* mechanisms and must refer to the same principal.
*
- * @return true
if the two GSSCredentials assert the same
- * entity; false
otherwise.
+ * @return {@code true} if the two GSSCredentials assert the same
+ * entity; {@code false} otherwise.
* @param another another GSSCredential for comparison to this one
*/
public boolean equals(Object another);