hello all, the attached patch --already committed-- makes the putValue() method in java.util.jar.Attributes public as per JDK1.4 and 1.5 public documentation.
2006-03-05 Raif S. Naffah <[EMAIL PROTECTED]>
* java/util/jar/Attributes.java (putValue): Made it public and updated
method documentation.
cheers;
rsn
Index: Attributes.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/jar/Attributes.java,v
retrieving revision 1.13
diff -u -r1.13 Attributes.java
--- Attributes.java 2 Jul 2005 20:32:43 -0000 1.13
+++ Attributes.java 4 Mar 2006 14:43:59 -0000
@@ -427,16 +427,13 @@
* Attributes map.
* When the name already exists the value is replaced and the old value
* is returned.
- * <p>
- * I don't know why there is no public method with this signature. I think
- * there should be one.
*
* @param name the attribite name to add/replace
* @param value the (new) value of the attribute name
* @returns the old value of the attribute name or null if it didn't exist
* yet
*/
- String putValue(Name name, String value)
+ public String putValue(Name name, String value)
{
return (String) put(name, value);
}
pgpU5GJ6mIbDg.pgp
Description: PGP signature
