husted 2003/09/29 10:45:29
Modified: chain/src/java/org/apache/commons/chain/impl
CatalogBase.java
Log:
Replace rendundant Javadoc with reference to Interface.
Revision Changes Path
1.5 +7 -19
jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/impl/CatalogBase.java
Index: CatalogBase.java
===================================================================
RCS file:
/home/cvs/jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/impl/CatalogBase.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- CatalogBase.java 29 Sep 2003 15:44:40 -0000 1.4
+++ CatalogBase.java 29 Sep 2003 17:45:29 -0000 1.5
@@ -94,21 +94,14 @@
// --------------------------------------------------------- Public Methods
- /**
- * Adds a Command to this Catalog.
- * @param name the name by which the Command can be identified
- * @param command the Command to add to this Catalog
- */
+ // Documented in Catalog interface
public void addCommand(String name, Command command) {
commands.put(name, command);
}
- /**
- * Retrieves the Command identified by the given name from this Catalog.
- * @return the Command identified by the given name from this Catalog
- */
+ // Documented in Catalog interface
public Command getCommand(String name) {
return ((Command) commands.get(name));
@@ -116,12 +109,7 @@
}
- /**
- * Returns an Iterator which can be used to iterate through all the Commands
- * in the Catalog.
- * @return an Iterator which can be used to iterate through all the Commands
- * in the Catalog
- */
+ // Documented in Catalog interface
public Iterator getNames() {
return (commands.keySet().iterator());
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]