From a17c9f2ea1ecec71169eff40c591ca3bf8307a32 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Tue, 20 Apr 2004 14:45:10 +0000 Subject: MarshalledObject.java, [...]: Fixed javadoc, coding style and argument names all over. 2004-04-20 Michael Koch * java/rmi/MarshalledObject.java, java/rmi/Naming.java, java/rmi/RemoteException.java, java/rmi/activation/ActivationException.java, java/rmi/server/ServerCloneException.java, java/security/AccessController.java, java/security/AlgorithmParameterGenerator.java, java/security/AlgorithmParameters.java, java/security/CodeSource.java, java/security/Identity.java, java/security/IdentityScope.java, java/security/KeyPairGenerator.java, java/security/KeyStore.java, java/security/Security.java, java/security/Signature.java, java/security/SignatureSpi.java, java/security/SignedObject.java, java/security/spec/DSAParameterSpec.java, java/security/spec/DSAPrivateKeySpec.java, java/security/spec/DSAPublicKeySpec.java, java/sql/Array.java, java/sql/DatabaseMetaData.java, java/sql/ResultSet.java, java/text/ChoiceFormat.java, java/text/CollationElementIterator.java, java/text/CollationKey.java, java/text/Collator.java, java/text/DateFormat.java, java/text/DateFormatSymbols.java, java/text/DecimalFormatSymbols.java, java/text/Format.java, java/text/ParsePosition.java, java/text/RuleBasedCollator.java, java/text/SimpleDateFormat.java, java/text/StringCharacterIterator.java, java/util/Collections.java, java/util/PropertyResourceBundle.java, java/util/ResourceBundle.java, java/util/StringTokenizer.java, java/util/jar/Attributes.java, java/util/logging/ConsoleHandler.java, java/util/logging/LogManager.java, java/util/logging/MemoryHandler.java, java/util/logging/SocketHandler.java, javax/naming/NamingException.java: Fixed javadoc, coding style and argument names all over. From-SVN: r80906 --- libjava/java/security/CodeSource.java | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'libjava/java/security/CodeSource.java') diff --git a/libjava/java/security/CodeSource.java b/libjava/java/security/CodeSource.java index 36ee734..35ec573 100644 --- a/libjava/java/security/CodeSource.java +++ b/libjava/java/security/CodeSource.java @@ -159,17 +159,22 @@ public class CodeSource implements Serializable * object must have all the certifcates this object has (but may have more), * and must have a location that is a subset of this object's. In order * for this object to imply the specified object, the following must be - * true:
    + * true: + * + *
      *
    1. codesource must not be null.
    2. *
    3. If codesource has a certificate list, all of it's * certificates must be present in the certificate list of this * code source.
    4. *
    5. If this object does not have a null location, then - * the following addtional tests must be passed.
        + * the following addtional tests must be passed. + * + *
          *
        1. codesource must not have a null * location.
        2. *
        3. codesource's location must be equal to this object's - * location, or
            + * location, or + *
              *
            • codesource's location protocol, port, and ref (aka, * anchor) must equal this objects
            • *
            • codesource's location host must imply this object's @@ -183,19 +188,21 @@ public class CodeSource implements Serializable * location file must start with this object's location file * with the '/' character appended to it.
            • *
            - *
        + *
    6. *
    * *

    For example, each of these locations imply the location - * "http://java.sun.com/classes/foo.jar":

      + * "http://java.sun.com/classes/foo.jar":

      + * *
          * http:
          * http://*.sun.com/classes/*
          * http://java.sun.com/classes/-
          * http://java.sun.com/classes/foo.jar
          * 
      - * Note that the code source with null location and null certificates implies - * all other code sources. + * + *

      Note that the code source with null location and null certificates implies + * all other code sources.

      * * @param cs the CodeSource to test against this object * @return true if this specified CodeSource is implied @@ -245,7 +252,7 @@ public class CodeSource implements Serializable /** * This method returns a String that represents this object. * The result is in the format "(" + getLocation() followed - * by a space separated list of certificates (or ""), + * by a space separated list of certificates (or "<no certificates>"), * followed by ")". * * @return a String for this object -- cgit v1.1