--- old/src/share/classes/java/security/IdentityScope.java 2013-06-27 23:05:18.789546394 -0700
+++ new/src/share/classes/java/security/IdentityScope.java 2013-06-27 23:05:18.629546397 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 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
@@ -57,9 +57,9 @@
* @author Benjamin Renaud
*
* @deprecated This class is no longer used. Its functionality has been
- * replaced by java.security.KeyStore
, the
- * java.security.cert
package, and
- * java.security.Principal
.
+ * replaced by {@code java.security.KeyStore}, the
+ * {@code java.security.cert} package, and
+ * {@code java.security.Principal}.
*/
@Deprecated
public abstract
@@ -146,14 +146,14 @@
* Sets the system's identity scope.
*
*
First, if there is a security manager, its
- * checkSecurityAccess
- * method is called with "setSystemScope"
+ * {@code checkSecurityAccess}
+ * method is called with {@code "setSystemScope"}
* as its argument to see if it's ok to set the identity scope.
*
* @param scope the scope to set.
*
* @exception SecurityException if a security manager exists and its
- * checkSecurityAccess
method doesn't allow
+ * {@code checkSecurityAccess} method doesn't allow
* setting the identity scope.
*
* @see #getSystemScope
@@ -176,8 +176,8 @@
*
* @param name the name of the identity to be retrieved.
*
- * @return the identity named name
, or null if there are
- * no identities named name
in this scope.
+ * @return the identity named {@code name}, or null if there are
+ * no identities named {@code name} in this scope.
*/
public abstract Identity getIdentity(String name);