[Mc4j-cvs] mc4j/src/org/mc4j/console/bean/attribute AttributeNode.java,1.9,1.10
Brought to you by:
ghinkl
From: Greg H. <gh...@us...> - 2004-04-07 03:20:09
|
Update of /cvsroot/mc4j/mc4j/src/org/mc4j/console/bean/attribute In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17381/src/org/mc4j/console/bean/attribute Modified Files: AttributeNode.java Log Message: NPE avoidance for "unknown" types Index: AttributeNode.java =================================================================== RCS file: /cvsroot/mc4j/mc4j/src/org/mc4j/console/bean/attribute/AttributeNode.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** AttributeNode.java 2 Apr 2004 03:27:55 -0000 1.9 --- AttributeNode.java 7 Apr 2004 03:07:14 -0000 1.10 *************** *** 134,138 **** // TODO GH: How to refresh the property view? ! firePropertyChange(getValueProperty().getName(), oldValue, newValue); } --- 134,140 ---- // TODO GH: How to refresh the property view? ! Node.Property prop = getValueProperty(); ! if (prop != null) ! firePropertyChange(prop.getName(), oldValue, newValue); } |