Mercurial > hg > Database > Alice
changeset 653:fffcbd3a3dc7
fix get obj
author | suruga |
---|---|
date | Wed, 07 Feb 2018 19:14:30 +0900 |
parents | fb1ddc5696ca |
children | 2fbd6ac705df |
files | src/main/java/alice/datasegment/Receiver.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/alice/datasegment/Receiver.java Wed Feb 07 19:06:42 2018 +0900 +++ b/src/main/java/alice/datasegment/Receiver.java Wed Feb 07 19:14:30 2018 +0900 @@ -119,7 +119,7 @@ public Value getVal() { Value obj = data.getVal(); - if (obj.getClass() == NilValue.class) + if (obj != null && obj.getClass() == NilValue.class) return null; else return obj;