diff options
author | Michael Koch <konqueror@gmx.de> | 2004-04-20 14:45:10 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2004-04-20 14:45:10 +0000 |
commit | a17c9f2ea1ecec71169eff40c591ca3bf8307a32 (patch) | |
tree | 2f1b4325d5c68c60284c5788c751fe9dfe6a3579 /libjava/java/security/CodeSource.java | |
parent | 386d3a1616016db1b84351554de4aa643fe0d92a (diff) | |
download | gcc-a17c9f2ea1ecec71169eff40c591ca3bf8307a32.zip gcc-a17c9f2ea1ecec71169eff40c591ca3bf8307a32.tar.gz gcc-a17c9f2ea1ecec71169eff40c591ca3bf8307a32.tar.bz2 |
MarshalledObject.java, [...]: Fixed javadoc, coding style and argument names all over.
2004-04-20 Michael Koch <konqueror@gmx.de>
* 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
Diffstat (limited to 'libjava/java/security/CodeSource.java')
-rw-r--r-- | libjava/java/security/CodeSource.java | 23 |
1 files changed, 15 insertions, 8 deletions
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:<ol> + * true: + * + * <ol> * <li><em>codesource</em> must not be <code>null</code>.</li> * <li>If <em>codesource</em> has a certificate list, all of it's * certificates must be present in the certificate list of this * code source.</li> * <li>If this object does not have a <code>null</code> location, then - * the following addtional tests must be passed.<ol> + * the following addtional tests must be passed. + * + * <ol> * <li><em>codesource</em> must not have a <code>null</code> * location.</li> * <li><em>codesource</em>'s location must be equal to this object's - * location, or<br><ul> + * location, or + * <ul> * <li><em>codesource</em>'s location protocol, port, and ref (aka, * anchor) must equal this objects</li> * <li><em>codesource</em>'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.</li> * </ul></li> - * </ol> + * </ol></li> * </ol> * * <p>For example, each of these locations imply the location - * "http://java.sun.com/classes/foo.jar":<ul> + * "http://java.sun.com/classes/foo.jar":</p> + * * <pre> * http: * http://*.sun.com/classes/* * http://java.sun.com/classes/- * http://java.sun.com/classes/foo.jar * </pre> - * Note that the code source with null location and null certificates implies - * all other code sources. + * + * <p>Note that the code source with null location and null certificates implies + * all other code sources.</p> * * @param cs the <code>CodeSource</code> to test against this object * @return true if this specified <code>CodeSource</code> is implied @@ -245,7 +252,7 @@ public class CodeSource implements Serializable /** * This method returns a <code>String</code> that represents this object. * The result is in the format <code>"(" + getLocation()</code> followed - * by a space separated list of certificates (or "<no certificates>"), + * by a space separated list of certificates (or "<no certificates>"), * followed by <code>")"</code>. * * @return a <code>String</code> for this object |