git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit '877a44c78f1c4985aa362f6cdce385a4f860b51d'
[fanfix.git]
/
Progress.java
diff --git
a/Progress.java
b/Progress.java
index 2c6cb1e1b951a4da86c3017eca23ff72977646d0..748d4a666c377123ff2eadd29c840ec4baf402e5 100644
(file)
--- a/
Progress.java
+++ b/
Progress.java
@@
-447,19
+447,6
@@
public class Progress {
}
}
}
}
- /**
- * Set the given value for the given key on this {@link Progress} and it's
- * children.
- *
- * @param key
- * the key
- * @param value
- * the value
- */
- public void put(String key, String value) {
- map.put(key, value);
- }
-
/**
* Set the given value for the given key on this {@link Progress} and it's
* children.
/**
* Set the given value for the given key on this {@link Progress} and it's
* children.
@@
-474,7
+461,8
@@
public class Progress {
}
/**
}
/**
- * Return the value associated with this key if any, NULL if not.
+ * Return the value associated with this key as a {@link String} if any,
+ * NULL if not.
* <p>
* If the value is not NULL but not a {@link String}, it will be converted
* via {@link Object#toString()}.
* <p>
* If the value is not NULL but not a {@link String}, it will be converted
* via {@link Object#toString()}.
@@
-484,7
+472,7
@@
public class Progress {
*
* @return the value or NULL
*/
*
* @return the value or NULL
*/
- public String get
(String
key) {
+ public String get
String(Object
key) {
Object value = map.get(key);
if (value == null) {
return null;
Object value = map.get(key);
if (value == null) {
return null;