mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
npe fix for value conversion
This commit is contained in:
@@ -208,7 +208,7 @@ public class ParameterMap extends ConcurrentHashMap<String,Object> implements Bi
|
||||
if (raw instanceof Map || raw instanceof Set || raw instanceof List) {
|
||||
value = gson.toJson(raw);
|
||||
} else {
|
||||
value = raw.toString();
|
||||
value = String.valueOf(raw);
|
||||
}
|
||||
super.put(entry.getKey(), value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user