summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaif S. Naffah <raif@swiftdsl.com.au>2006-03-04 14:54:55 +0000
committerRaif S. Naffah <raif@swiftdsl.com.au>2006-03-04 14:54:55 +0000
commit8302c9d576000364d8f167b3a8646cb6595c91c4 (patch)
treee1a35e3ccfdd62799a8ba5439bcb53e01fb1eeb2
parentb735ea36f3792d4546167135645001ade54c811d (diff)
downloadclasspath-8302c9d576000364d8f167b3a8646cb6595c91c4.tar.gz
2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
* java/util/jar/Attributes.java (putValue): Made it public and updated method documentation.
-rw-r--r--ChangeLog5
-rw-r--r--java/util/jar/Attributes.java5
2 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 92aec294e..e1a2a9424 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
+
+ * java/util/jar/Attributes.java (putValue): Made it public and updated
+ method documentation.
+
2006-03-04 Mark Wielaard <mark@klomp.org>
* java/awt/Container.java (remove(int)): Always call removeNotify()
diff --git a/java/util/jar/Attributes.java b/java/util/jar/Attributes.java
index 4db2c72e7..c8babddab 100644
--- a/java/util/jar/Attributes.java
+++ b/java/util/jar/Attributes.java
@@ -427,16 +427,13 @@ public class Attributes implements Cloneable, Map
* 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);
}