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:
|
case NODE:
|
||||||
return nvalue.getName ();
|
return nvalue.getName ();
|
||||||
case JAVAOBJECT:
|
case JAVAOBJECT:
|
||||||
return jvalue.toString ();
|
return jvalue == null ? null : jvalue.toString ();
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
|
@ -268,7 +268,7 @@ public final class Property implements IProperty, Serializable, Cloneable {
|
||||||
case NODE:
|
case NODE:
|
||||||
return nhandle.getID ();
|
return nhandle.getID ();
|
||||||
case JAVAOBJECT:
|
case JAVAOBJECT:
|
||||||
return jvalue.toString ();
|
return jvalue == null ? null : jvalue.toString ();
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue