diff options
author | Raif S. Naffah <raif@swiftdsl.com.au> | 2006-03-04 14:54:55 +0000 |
---|---|---|
committer | Raif S. Naffah <raif@swiftdsl.com.au> | 2006-03-04 14:54:55 +0000 |
commit | 8302c9d576000364d8f167b3a8646cb6595c91c4 (patch) | |
tree | e1a35e3ccfdd62799a8ba5439bcb53e01fb1eeb2 | |
parent | b735ea36f3792d4546167135645001ade54c811d (diff) | |
download | classpath-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-- | ChangeLog | 5 | ||||
-rw-r--r-- | java/util/jar/Attributes.java | 5 |
2 files changed, 6 insertions, 4 deletions
@@ -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); } |