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/rmi/MarshalledObject.java | 5 ++--- libjava/java/rmi/Naming.java | 10 ++++++---- libjava/java/rmi/RemoteException.java | 2 +- libjava/java/rmi/activation/ActivationException.java | 2 +- libjava/java/rmi/server/ServerCloneException.java | 2 +- 5 files changed, 11 insertions(+), 10 deletions(-) (limited to 'libjava/java/rmi') diff --git a/libjava/java/rmi/MarshalledObject.java b/libjava/java/rmi/MarshalledObject.java index 0ba9158..ef22310 100644 --- a/libjava/java/rmi/MarshalledObject.java +++ b/libjava/java/rmi/MarshalledObject.java @@ -1,5 +1,5 @@ /* - Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (c) 1996, 1997, 1998, 1999, 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -46,8 +46,7 @@ import gnu.java.rmi.RMIMarshalledObjectOutputStream; /** * FIXME - doc missing */ -public final class MarshalledObject - extends Object implements Serializable +public final class MarshalledObject implements Serializable { //The following fields are from Java API Documentation "Serialized form" diff --git a/libjava/java/rmi/Naming.java b/libjava/java/rmi/Naming.java index 1d2e68b..1a30c1f 100644 --- a/libjava/java/rmi/Naming.java +++ b/libjava/java/rmi/Naming.java @@ -44,14 +44,16 @@ import java.rmi.registry.LocateRegistry; public final class Naming { -/**
+/**
  * Looks for the remote object that is associated with the named service.
  * Name and location is given in form of a URL without a scheme:
- * 
- *   //host:port/service-name
+ *
+ * 
+ * //host:port/service-name
+ * 
* * The port is optional. - *
+ * * @param name the service name and location * @return Remote-object that implements the named service * @throws NotBoundException if no object implements the service diff --git a/libjava/java/rmi/RemoteException.java b/libjava/java/rmi/RemoteException.java index 17e38b3..b28f070 100644 --- a/libjava/java/rmi/RemoteException.java +++ b/libjava/java/rmi/RemoteException.java @@ -99,7 +99,7 @@ public class RemoteException extends IOException * This method returns a message indicating what went wrong, in this * format: * super.getMessage() + (detail == null ? "" - * : "; nested exception is:\n\t" + detail). + * : "; nested exception is:\n\t" + detail). * * @return the chained message */ diff --git a/libjava/java/rmi/activation/ActivationException.java b/libjava/java/rmi/activation/ActivationException.java index a1ac7bd..a335142 100644 --- a/libjava/java/rmi/activation/ActivationException.java +++ b/libjava/java/rmi/activation/ActivationException.java @@ -94,7 +94,7 @@ public class ActivationException extends Exception * This method returns a message indicating what went wrong, in this * format: * super.getMessage() + (detail == null ? "" - * : "; nested exception is:\n\t" + detail). + * : "; nested exception is:\n\t" + detail). * * @return the chained message */ diff --git a/libjava/java/rmi/server/ServerCloneException.java b/libjava/java/rmi/server/ServerCloneException.java index faf43c8..3334c8d 100644 --- a/libjava/java/rmi/server/ServerCloneException.java +++ b/libjava/java/rmi/server/ServerCloneException.java @@ -89,7 +89,7 @@ public class ServerCloneException extends CloneNotSupportedException * This method returns a message indicating what went wrong, in this * format: * super.getMessage() + (detail == null ? "" - * : "; nested exception is:\n\t" + detail). + * : "; nested exception is:\n\t" + detail). * * @return the chained message */ -- cgit v1.1