git://git.nikiroo.be
/
jvcard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Indexed colours, better image handling, lines cut at 74:
[jvcard.git]
/
src
/
be
/
nikiroo
/
jvcard
/
Data.java
diff --git
a/src/be/nikiroo/jvcard/Data.java
b/src/be/nikiroo/jvcard/Data.java
index ef44813a0fca7d62dcaf1ed032434c97a0960be2..a0ef2e955889d3bd5ea7f5455ccd5ca0a36f48fb 100644
(file)
--- a/
src/be/nikiroo/jvcard/Data.java
+++ b/
src/be/nikiroo/jvcard/Data.java
@@
-30,17
+30,17
@@
public class Data extends BaseClass<TypeInfo> {
* @param types
* the types of this {@link Data}
* @param name
* @param types
* the types of this {@link Data}
* @param name
- * its name
+ * its name
(<b>MUST NOT</b> be NULL)
* @param value
* @param value
- * its value
+ * its value
(<b>MUST NOT</b> be NULL)
* @param group
* @param group
- * its group if any
+ * its group if any
(or NULL if none)
*/
public Data(List<TypeInfo> types, String name, String value, String group) {
super(types);
*/
public Data(List<TypeInfo> types, String name, String value, String group) {
super(types);
- this.name = name;
- this.value = value
;
+ this.name = name
.toUpperCase()
;
+ this.value = value
.toString(); // crash NOW if null
this.group = group;
b64 = -1;
this.group = group;
b64 = -1;