1
0
Fork 0

Fixed NullPointerException when providing a null value in a ValueTuple

master
Bob Carroll 2014-08-04 23:17:41 -07:00
parent ac401d63f3
commit bd27e349ad
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ public final class Field {
*/
public ValueTuple(String type, Object value) {
this.type = type;
this.value = value;
this.value = (value != null ? value : JSONNull.getInstance());
}
/**