value = Conversions.URLDecode(token.substring(i+1));
} else {
key = Conversions.URLDecode(token);
value = "";
}
Holder holder = _attributes.getHolder(key);
if (holder != null) {
Object obj = holder.getValue();
if (obj instanceof String[]) {
String[] arr = (String[])obj;
int length = arr.length;
String[] newarr = new String[length+1];
System.arraycopy(arr, 0, newarr, 0, length);
newarr[length] = value;
holder.setValue(newarr);
} else {
holder.setValue(new String[] { obj.toString(), value } );
}
} else {
_attributes.put(key, value);
}
}