check for null in Property.getStringValue for
Java object property values.
This commit is contained in:
parent
e787abefe7
commit
e6cc8162d0
2 changed files with 2 additions and 2 deletions
|
@ -141,7 +141,7 @@ public final class Property implements IProperty, Serializable {
|
|||
case NODE:
|
||||
return nvalue.getName ();
|
||||
case JAVAOBJECT:
|
||||
return jvalue.toString ();
|
||||
return jvalue == null ? null : jvalue.toString ();
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
|
|
@ -268,7 +268,7 @@ public final class Property implements IProperty, Serializable, Cloneable {
|
|||
case NODE:
|
||||
return nhandle.getID ();
|
||||
case JAVAOBJECT:
|
||||
return jvalue.toString ();
|
||||
return jvalue == null ? null : jvalue.toString ();
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue