--- old/src/share/classes/java/security/KeyFactory.java 2013-06-28 10:31:42.966376982 -0700 +++ new/src/share/classes/java/security/KeyFactory.java 2013-06-28 10:31:42.770376986 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -37,7 +37,7 @@ /** * Key factories are used to convert keys (opaque - * cryptographic keys of type Key) into key specifications + * cryptographic keys of type {@code Key}) into key specifications * (transparent representations of the underlying key material), and vice * versa. * @@ -47,8 +47,8 @@ * *

Multiple compatible key specifications may exist for the same key. * For example, a DSA public key may be specified using - * DSAPublicKeySpec or - * X509EncodedKeySpec. A key factory can be used to translate + * {@code DSAPublicKeySpec} or + * {@code X509EncodedKeySpec}. A key factory can be used to translate * between compatible key specifications. * *

The following is an example of how to use a key factory in order to @@ -68,11 +68,11 @@ * * *

Every implementation of the Java platform is required to support the - * following standard KeyFactory algorithms: + * following standard {@code KeyFactory} algorithms: *

* These algorithms are described in the @@ -120,7 +120,7 @@ * @param keyFacSpi the delegate * @param provider the provider * @param algorithm the name of the algorithm - * to associate with this KeyFactory + * to associate with this {@code KeyFactory} */ protected KeyFactory(KeyFactorySpi keyFacSpi, Provider provider, String algorithm) { @@ -266,10 +266,10 @@ /** * Gets the name of the algorithm - * associated with this KeyFactory. + * associated with this {@code KeyFactory}. * * @return the name of the algorithm associated with this - * KeyFactory + * {@code KeyFactory} */ public final String getAlgorithm() { return this.algorithm; @@ -389,11 +389,11 @@ /** * Returns a specification (key material) of the given key object. - * keySpec identifies the specification class in which + * {@code keySpec} identifies the specification class in which * the key material should be returned. It could, for example, be - * DSAPublicKeySpec.class, to indicate that the + * {@code DSAPublicKeySpec.class}, to indicate that the * key material should be returned in an instance of the - * DSAPublicKeySpec class. + * {@code DSAPublicKeySpec} class. * * @param key the key. *